Struct k8s_openapi::api::core::v1::VolumeProjection
source · pub struct VolumeProjection {
pub cluster_trust_bundle: Option<ClusterTrustBundleProjection>,
pub config_map: Option<ConfigMapProjection>,
pub downward_api: Option<DownwardAPIProjection>,
pub secret: Option<SecretProjection>,
pub service_account_token: Option<ServiceAccountTokenProjection>,
}
Expand description
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
Fields§
§cluster_trust_bundle: Option<ClusterTrustBundleProjection>
ClusterTrustBundle allows a pod to access the .spec.trustBundle
field of ClusterTrustBundle objects in an auto-updating file.
Alpha, gated by the ClusterTrustBundleProjection feature gate.
ClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.
Kubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.
config_map: Option<ConfigMapProjection>
configMap information about the configMap data to project
downward_api: Option<DownwardAPIProjection>
downwardAPI information about the downwardAPI data to project
secret: Option<SecretProjection>
secret information about the secret data to project
service_account_token: Option<ServiceAccountTokenProjection>
serviceAccountToken is information about the serviceAccountToken data to project
Trait Implementations§
source§impl Clone for VolumeProjection
impl Clone for VolumeProjection
source§fn clone(&self) -> VolumeProjection
fn clone(&self) -> VolumeProjection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VolumeProjection
impl Debug for VolumeProjection
source§impl DeepMerge for VolumeProjection
impl DeepMerge for VolumeProjection
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for VolumeProjection
impl Default for VolumeProjection
source§fn default() -> VolumeProjection
fn default() -> VolumeProjection
source§impl<'de> Deserialize<'de> for VolumeProjection
impl<'de> Deserialize<'de> for VolumeProjection
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl PartialEq for VolumeProjection
impl PartialEq for VolumeProjection
source§impl Serialize for VolumeProjection
impl Serialize for VolumeProjection
impl StructuralPartialEq for VolumeProjection
Auto Trait Implementations§
impl Freeze for VolumeProjection
impl RefUnwindSafe for VolumeProjection
impl Send for VolumeProjection
impl Sync for VolumeProjection
impl Unpin for VolumeProjection
impl UnwindSafe for VolumeProjection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)