Struct bollard_stubs::models::ClusterVolumePublishStatus
source · pub struct ClusterVolumePublishStatus {
pub node_id: Option<String>,
pub state: Option<ClusterVolumePublishStatusStateEnum>,
pub publish_context: Option<HashMap<String, String>>,
}
Fields§
§node_id: Option<String>
The ID of the Swarm node the volume is published on.
state: Option<ClusterVolumePublishStatusStateEnum>
The published state of the volume. * pending-publish
The volume should be published to this node, but the call to the controller plugin to do so has not yet been successfully completed. * published
The volume is published successfully to the node. * pending-node-unpublish
The volume should be unpublished from the node, and the manager is awaiting confirmation from the worker that it has done so. * pending-controller-unpublish
The volume is successfully unpublished from the node, but has not yet been successfully unpublished on the controller.
publish_context: Option<HashMap<String, String>>
A map of strings to strings returned by the CSI controller plugin when a volume is published.
Trait Implementations§
source§impl Clone for ClusterVolumePublishStatus
impl Clone for ClusterVolumePublishStatus
source§fn clone(&self) -> ClusterVolumePublishStatus
fn clone(&self) -> ClusterVolumePublishStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClusterVolumePublishStatus
impl Debug for ClusterVolumePublishStatus
source§impl Default for ClusterVolumePublishStatus
impl Default for ClusterVolumePublishStatus
source§fn default() -> ClusterVolumePublishStatus
fn default() -> ClusterVolumePublishStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterVolumePublishStatus
impl<'de> Deserialize<'de> for ClusterVolumePublishStatus
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ClusterVolumePublishStatus> for ClusterVolumePublishStatus
impl PartialEq<ClusterVolumePublishStatus> for ClusterVolumePublishStatus
source§fn eq(&self, other: &ClusterVolumePublishStatus) -> bool
fn eq(&self, other: &ClusterVolumePublishStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.