Struct k8s_openapi::v1_9::api::core::v1::PersistentVolumeClaimVolumeSource[][src]

pub struct PersistentVolumeClaimVolumeSource {
    pub claim_name: String,
    pub read_only: Option<bool>,
}

PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

Fields

ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

Will force the ReadOnly setting in VolumeMounts. Default false.

Trait Implementations

impl Clone for PersistentVolumeClaimVolumeSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PersistentVolumeClaimVolumeSource
[src]

Formats the value using the given formatter. Read more

impl Default for PersistentVolumeClaimVolumeSource
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PersistentVolumeClaimVolumeSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations