pub struct CSIDriver {
pub metadata: ObjectMeta,
pub spec: CSIDriverSpec,
}
Expand description
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
Fields§
§metadata: ObjectMeta
Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec: CSIDriverSpec
spec represents the specification of the CSI Driver.
Trait Implementations§
source§impl DeepMerge for CSIDriver
impl DeepMerge for CSIDriver
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl<'de> Deserialize<'de> for CSIDriver
impl<'de> Deserialize<'de> for CSIDriver
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl ListableResource for CSIDriver
impl ListableResource for CSIDriver
source§impl PartialEq for CSIDriver
impl PartialEq for CSIDriver
source§impl Resource for CSIDriver
impl Resource for CSIDriver
source§const API_VERSION: &'static str = "storage.k8s.io/v1"
const API_VERSION: &'static str = "storage.k8s.io/v1"
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read more