pub struct CsiControllerInfo {
pub supports_attach_detach: bool,
pub supports_create_delete_snapshot: bool,
pub supports_list_snapshots: bool,
pub supports_clone: bool,
pub supports_expand: bool,
pub supports_condition: bool,
pub supports_create_delete: bool,
pub supports_list_volumes: bool,
pub supports_get_capacity: bool,
pub supports_read_only_attach: bool,
pub supports_list_volumes_attached_nodes: bool,
pub supports_get: 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_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.
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_clone: bool
SupportsClone indicates plugin support for CLONE_VOLUME
supports_expand: bool
SupportsExpand indicates plugin support for EXPAND_VOLUME
supports_condition: bool
SupportsCondition indicates plugin support for VOLUME_CONDITION
supports_create_delete: bool
SupportsCreateDelete indicates plugin support for CREATE_DELETE_VOLUME
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_read_only_attach: bool
SupportsReadOnlyAttach is set to true when the controller returns the ATTACH_READONLY capability.
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_get: bool
SupportsGet indicates plugin support for GET_VOLUME
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