Struct k8s_openapi::v1_10::api::storage::v1beta1::VolumeAttachment [−][src]
pub struct VolumeAttachment {
pub api_version: Option<String>,
pub kind: Option<String>,
pub metadata: Option<ObjectMeta>,
pub spec: VolumeAttachmentSpec,
pub status: Option<VolumeAttachmentStatus>,
}VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.
VolumeAttachment objects are non-namespaced.
Fields
api_version: Option<String>
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
kind: Option<String>
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
metadata: Option<ObjectMeta>
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
spec: VolumeAttachmentSpec
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
status: Option<VolumeAttachmentStatus>
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
Methods
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn create_storage_v1beta1_volume_attachment(
body: &VolumeAttachment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn create_storage_v1beta1_volume_attachment(
body: &VolumeAttachment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>create a VolumeAttachment
Use CreateStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn delete_storage_v1beta1_collection_volume_attachment(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn delete_storage_v1beta1_collection_volume_attachment(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>delete collection of VolumeAttachment
Use DeleteStorageV1beta1CollectionVolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn delete_storage_v1beta1_volume_attachment(
name: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn delete_storage_v1beta1_volume_attachment(
name: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>delete a VolumeAttachment
Use DeleteStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn list_storage_v1beta1_volume_attachment(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn list_storage_v1beta1_volume_attachment(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>list or watch objects of kind VolumeAttachment
Use ListStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn patch_storage_v1beta1_volume_attachment(
name: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn patch_storage_v1beta1_volume_attachment(
name: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>partially update the specified VolumeAttachment
Use PatchStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn read_storage_v1beta1_volume_attachment(
name: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn read_storage_v1beta1_volume_attachment(
name: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>read the specified VolumeAttachment
Use ReadStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn replace_storage_v1beta1_volume_attachment(
name: &str,
body: &VolumeAttachment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn replace_storage_v1beta1_volume_attachment(
name: &str,
body: &VolumeAttachment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>replace the specified VolumeAttachment
Use ReplaceStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn watch_storage_v1beta1_volume_attachment(
name: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn watch_storage_v1beta1_volume_attachment(
name: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>watch changes to an object of kind VolumeAttachment
Use WatchStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.
impl VolumeAttachment[src]
impl VolumeAttachmentpub fn watch_storage_v1beta1_volume_attachment_list(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn watch_storage_v1beta1_volume_attachment_list(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>watch individual changes to a list of VolumeAttachment
Use WatchStorageV1beta1VolumeAttachmentListResponse to parse the HTTP response.
Trait Implementations
impl Clone for VolumeAttachment[src]
impl Clone for VolumeAttachmentfn clone(&self) -> VolumeAttachment[src]
fn clone(&self) -> VolumeAttachmentReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for VolumeAttachment[src]
impl Debug for VolumeAttachmentfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for VolumeAttachment[src]
impl Default for VolumeAttachmentfn default() -> VolumeAttachment[src]
fn default() -> VolumeAttachmentReturns the "default value" for a type. Read more
impl PartialEq for VolumeAttachment[src]
impl PartialEq for VolumeAttachmentfn eq(&self, other: &VolumeAttachment) -> bool[src]
fn eq(&self, other: &VolumeAttachment) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VolumeAttachment) -> bool[src]
fn ne(&self, other: &VolumeAttachment) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for VolumeAttachment[src]
impl<'de> Deserialize<'de> for VolumeAttachmentfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for VolumeAttachment[src]
impl Serialize for VolumeAttachmentAuto Trait Implementations
impl Send for VolumeAttachment
impl Send for VolumeAttachmentimpl Sync for VolumeAttachment
impl Sync for VolumeAttachment