Struct k8s_openapi::api::core::v1::ClusterTrustBundleProjection
source · pub struct ClusterTrustBundleProjection {
pub label_selector: Option<LabelSelector>,
pub name: Option<String>,
pub optional: Option<bool>,
pub path: String,
pub signer_name: Option<String>,
}
Expand description
ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.
Fields§
§label_selector: Option<LabelSelector>
Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as “match nothing”. If set but empty, interpreted as “match everything”.
name: Option<String>
Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.
optional: Option<bool>
If true, don’t block pod startup if the referenced ClusterTrustBundle(s) aren’t available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.
path: String
Relative path from the volume root to write the bundle.
signer_name: Option<String>
Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.
Trait Implementations§
source§impl Clone for ClusterTrustBundleProjection
impl Clone for ClusterTrustBundleProjection
source§fn clone(&self) -> ClusterTrustBundleProjection
fn clone(&self) -> ClusterTrustBundleProjection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterTrustBundleProjection
impl Debug for ClusterTrustBundleProjection
source§impl DeepMerge for ClusterTrustBundleProjection
impl DeepMerge for ClusterTrustBundleProjection
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for ClusterTrustBundleProjection
impl Default for ClusterTrustBundleProjection
source§fn default() -> ClusterTrustBundleProjection
fn default() -> ClusterTrustBundleProjection
source§impl<'de> Deserialize<'de> for ClusterTrustBundleProjection
impl<'de> Deserialize<'de> for ClusterTrustBundleProjection
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 ClusterTrustBundleProjection
impl PartialEq for ClusterTrustBundleProjection
source§fn eq(&self, other: &ClusterTrustBundleProjection) -> bool
fn eq(&self, other: &ClusterTrustBundleProjection) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ClusterTrustBundleProjection
Auto Trait Implementations§
impl Freeze for ClusterTrustBundleProjection
impl RefUnwindSafe for ClusterTrustBundleProjection
impl Send for ClusterTrustBundleProjection
impl Sync for ClusterTrustBundleProjection
impl Unpin for ClusterTrustBundleProjection
impl UnwindSafe for ClusterTrustBundleProjection
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
)