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

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 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

Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.

Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.

Methods

impl VolumeAttachment
[src]

create a VolumeAttachment

Use CreateStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

delete collection of VolumeAttachment

Use DeleteStorageV1beta1CollectionVolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

delete a VolumeAttachment

Use DeleteStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

list or watch objects of kind VolumeAttachment

Use ListStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

partially update the specified VolumeAttachment

Use PatchStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

read the specified VolumeAttachment

Use ReadStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

replace the specified VolumeAttachment

Use ReplaceStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

watch changes to an object of kind VolumeAttachment

Use WatchStorageV1beta1VolumeAttachmentResponse to parse the HTTP response.

impl VolumeAttachment
[src]

watch individual changes to a list of VolumeAttachment

Use WatchStorageV1beta1VolumeAttachmentListResponse to parse the HTTP response.

Trait Implementations

impl Clone for VolumeAttachment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VolumeAttachment
[src]

Formats the value using the given formatter. Read more

impl Default for VolumeAttachment
[src]

Returns the "default value" for a type. Read more

impl PartialEq for VolumeAttachment
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for VolumeAttachment
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for VolumeAttachment
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations