Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::PersistentVolume[][src]

pub struct PersistentVolume {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<PersistentVolumeSpec>,
    pub status: Option<PersistentVolumeStatus>,
}

PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

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's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes

Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes

Methods

impl PersistentVolume
[src]

create a PersistentVolume

Use CreateCoreV1PersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

delete collection of PersistentVolume

Use DeleteCoreV1CollectionPersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

delete a PersistentVolume

Use DeleteCoreV1PersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

list or watch objects of kind PersistentVolume

Use ListCoreV1PersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

partially update the specified PersistentVolume

Use PatchCoreV1PersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

partially update status of the specified PersistentVolume

Use PatchCoreV1PersistentVolumeStatusResponse to parse the HTTP response.

impl PersistentVolume
[src]

read the specified PersistentVolume

Use ReadCoreV1PersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

read status of the specified PersistentVolume

Use ReadCoreV1PersistentVolumeStatusResponse to parse the HTTP response.

impl PersistentVolume
[src]

replace the specified PersistentVolume

Use ReplaceCoreV1PersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

replace status of the specified PersistentVolume

Use ReplaceCoreV1PersistentVolumeStatusResponse to parse the HTTP response.

impl PersistentVolume
[src]

watch changes to an object of kind PersistentVolume

Use WatchCoreV1PersistentVolumeResponse to parse the HTTP response.

impl PersistentVolume
[src]

watch individual changes to a list of PersistentVolume

Use WatchCoreV1PersistentVolumeListResponse to parse the HTTP response.

Trait Implementations

impl Clone for PersistentVolume
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PersistentVolume
[src]

Formats the value using the given formatter. Read more

impl Default for PersistentVolume
[src]

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

impl PartialEq for PersistentVolume
[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 PersistentVolume
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PersistentVolume
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations