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 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 moresource§const GROUP: &'static str = "storage.k8s.io"
const GROUP: &'static str = "storage.k8s.io"
source§const URL_PATH_SEGMENT: &'static str = "csidrivers"
const URL_PATH_SEGMENT: &'static str = "csidrivers"
source§type Scope = ClusterResourceScope
type Scope = ClusterResourceScope
impl StructuralPartialEq for CSIDriver
Auto Trait Implementations§
impl Freeze for CSIDriver
impl RefUnwindSafe for CSIDriver
impl Send for CSIDriver
impl Sync for CSIDriver
impl Unpin for CSIDriver
impl UnwindSafe for CSIDriver
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)