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

pub struct PersistentVolumeClaim {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<PersistentVolumeClaimSpec>,
    pub status: Option<PersistentVolumeClaimStatus>,
}

PersistentVolumeClaim is a user's request for and claim to a persistent volume

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 the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

Methods

impl PersistentVolumeClaim
[src]

create a PersistentVolumeClaim

Use CreateCoreV1NamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

delete collection of PersistentVolumeClaim

Use DeleteCoreV1CollectionNamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

delete a PersistentVolumeClaim

Use DeleteCoreV1NamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

list or watch objects of kind PersistentVolumeClaim

Use ListCoreV1NamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

list or watch objects of kind PersistentVolumeClaim

Use ListCoreV1PersistentVolumeClaimForAllNamespacesResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

partially update the specified PersistentVolumeClaim

Use PatchCoreV1NamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

partially update status of the specified PersistentVolumeClaim

Use PatchCoreV1NamespacedPersistentVolumeClaimStatusResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

read the specified PersistentVolumeClaim

Use ReadCoreV1NamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

read status of the specified PersistentVolumeClaim

Use ReadCoreV1NamespacedPersistentVolumeClaimStatusResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

replace the specified PersistentVolumeClaim

Use ReplaceCoreV1NamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

replace status of the specified PersistentVolumeClaim

Use ReplaceCoreV1NamespacedPersistentVolumeClaimStatusResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

watch changes to an object of kind PersistentVolumeClaim

Use WatchCoreV1NamespacedPersistentVolumeClaimResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

watch individual changes to a list of PersistentVolumeClaim

Use WatchCoreV1NamespacedPersistentVolumeClaimListResponse to parse the HTTP response.

impl PersistentVolumeClaim
[src]

watch individual changes to a list of PersistentVolumeClaim

Use WatchCoreV1PersistentVolumeClaimListForAllNamespacesResponse to parse the HTTP response.

Trait Implementations

impl Clone for PersistentVolumeClaim
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PersistentVolumeClaim
[src]

Formats the value using the given formatter. Read more

impl Default for PersistentVolumeClaim
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PersistentVolumeClaim
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations