[−][src]Struct k8s_openapi::api::storage::v1::CSINodeDriver
CSINodeDriver holds information about the specification of one CSI driver installed on a node
Fields
allocatable: Option<VolumeNodeResources>
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
name: String
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
node_id: String
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
topology_keys: Option<Vec<String>>
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
Trait Implementations
impl Clone for CSINodeDriver
[src]
pub fn clone(&self) -> CSINodeDriver
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CSINodeDriver
[src]
impl Default for CSINodeDriver
[src]
pub fn default() -> CSINodeDriver
[src]
impl<'de> Deserialize<'de> for CSINodeDriver
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<CSINodeDriver> for CSINodeDriver
[src]
pub fn eq(&self, other: &CSINodeDriver) -> bool
[src]
pub fn ne(&self, other: &CSINodeDriver) -> bool
[src]
impl Serialize for CSINodeDriver
[src]
impl StructuralPartialEq for CSINodeDriver
[src]
Auto Trait Implementations
impl RefUnwindSafe for CSINodeDriver
[src]
impl Send for CSINodeDriver
[src]
impl Sync for CSINodeDriver
[src]
impl Unpin for CSINodeDriver
[src]
impl UnwindSafe for CSINodeDriver
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,