Struct k8s_openapi::api::storage::v1::VolumeAttachmentSource [−][src]
pub struct VolumeAttachmentSource {
pub inline_volume_spec: Option<PersistentVolumeSpec>,
pub persistent_volume_name: Option<String>,
}
Expand description
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
Fields
inline_volume_spec: Option<PersistentVolumeSpec>
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod’s inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod’s inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
persistent_volume_name: Option<String>
Name of the persistent volume to attach.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VolumeAttachmentSource
impl Send for VolumeAttachmentSource
impl Sync for VolumeAttachmentSource
impl Unpin for VolumeAttachmentSource
impl UnwindSafe for VolumeAttachmentSource
Blanket Implementations
Mutably borrows from an owned value. Read more