pub struct CSIControllerInfo {
pub supports_list_volumes: bool,
pub supports_get_capacity: bool,
pub supports_create_delete_snapshot: bool,
pub supports_list_snapshots: bool,
pub supports_get: bool,
pub supports_create_delete: bool,
pub supports_clone: bool,
pub supports_read_only_attach: bool,
pub supports_expand: bool,
pub supports_list_volumes_attached_nodes: bool,
pub supports_condition: bool,
pub supports_attach_detach: bool,
}
Expand description
CSIControllerInfo is the fingerprinted data from a CSI Plugin that is specific to the Controller API.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§supports_list_volumes: bool
SupportsListVolumes is true when the controller implements the ListVolumes RPC. NOTE: This does not guarantee that attached nodes will be returned unless SupportsListVolumesAttachedNodes is also true.
supports_get_capacity: bool
SupportsGetCapacity indicates plugin support for GET_CAPACITY
supports_create_delete_snapshot: bool
SupportsCreateDeleteSnapshot indicates plugin support for CREATE_DELETE_SNAPSHOT
supports_list_snapshots: bool
SupportsListSnapshots indicates plugin support for LIST_SNAPSHOTS
supports_get: bool
SupportsGet indicates plugin support for GET_VOLUME
supports_create_delete: bool
SupportsCreateDelete indicates plugin support for CREATE_DELETE_VOLUME
supports_clone: bool
SupportsClone indicates plugin support for CLONE_VOLUME
supports_read_only_attach: bool
SupportsReadOnlyAttach is set to true when the controller returns the ATTACH_READONLY capability.
supports_expand: bool
SupportsExpand indicates plugin support for EXPAND_VOLUME
supports_list_volumes_attached_nodes: bool
SupportsListVolumesAttachedNodes indicates whether the plugin will return attached nodes data when making ListVolume RPCs (plugin support for LIST_VOLUMES_PUBLISHED_NODES)
supports_condition: bool
SupportsCondition indicates plugin support for VOLUME_CONDITION
supports_attach_detach: bool
SupportsPublishVolume is true when the controller implements the methods required to attach and detach volumes. If this is false Nomad should skip the controller attachment flow.
Trait Implementations§
Source§impl Clone for CSIControllerInfo
impl Clone for CSIControllerInfo
Source§fn clone(&self) -> CSIControllerInfo
fn clone(&self) -> CSIControllerInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more