Struct k8s_openapi::api::core::v1::PersistentVolumeClaimVolumeSource [−][src]
pub struct PersistentVolumeClaimVolumeSource {
pub claim_name: String,
pub read_only: Option<bool>,
}
Expand description
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
claim_name: String
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
read_only: Option<bool>
Will force the ReadOnly setting in VolumeMounts. Default false.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for PersistentVolumeClaimVolumeSource
impl Sync for PersistentVolumeClaimVolumeSource
impl Unpin for PersistentVolumeClaimVolumeSource
Blanket Implementations
Mutably borrows from an owned value. Read more