pub struct ClusterProjectedVolumeTemplateSourcesSecret {
pub items: Option<Vec<ClusterProjectedVolumeTemplateSourcesSecretItems>>,
pub name: Option<String>,
pub optional: Option<bool>,
}
Expand description
secret information about the secret data to project
Fields§
§items: Option<Vec<ClusterProjectedVolumeTemplateSourcesSecretItems>>
items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
name: Option<String>
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional: Option<bool>
optional field specify whether the Secret or its key must be defined
Trait Implementations§
Source§impl Clone for ClusterProjectedVolumeTemplateSourcesSecret
impl Clone for ClusterProjectedVolumeTemplateSourcesSecret
Source§fn clone(&self) -> ClusterProjectedVolumeTemplateSourcesSecret
fn clone(&self) -> ClusterProjectedVolumeTemplateSourcesSecret
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ClusterProjectedVolumeTemplateSourcesSecret
impl Default for ClusterProjectedVolumeTemplateSourcesSecret
Source§fn default() -> ClusterProjectedVolumeTemplateSourcesSecret
fn default() -> ClusterProjectedVolumeTemplateSourcesSecret
Source§impl<'de> Deserialize<'de> for ClusterProjectedVolumeTemplateSourcesSecret
impl<'de> Deserialize<'de> for ClusterProjectedVolumeTemplateSourcesSecret
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 JsonSchema for ClusterProjectedVolumeTemplateSourcesSecret
impl JsonSchema for ClusterProjectedVolumeTemplateSourcesSecret
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreAuto Trait Implementations§
impl Freeze for ClusterProjectedVolumeTemplateSourcesSecret
impl RefUnwindSafe for ClusterProjectedVolumeTemplateSourcesSecret
impl Send for ClusterProjectedVolumeTemplateSourcesSecret
impl Sync for ClusterProjectedVolumeTemplateSourcesSecret
impl Unpin for ClusterProjectedVolumeTemplateSourcesSecret
impl UnwindSafe for ClusterProjectedVolumeTemplateSourcesSecret
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
)Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more