[][src]Struct k8s_openapi::api::settings::v1alpha1::PodPresetSpec

pub struct PodPresetSpec {
    pub env: Option<Vec<EnvVar>>,
    pub env_from: Option<Vec<EnvFromSource>>,
    pub selector: Option<LabelSelector>,
    pub volume_mounts: Option<Vec<VolumeMount>>,
    pub volumes: Option<Vec<Volume>>,
}

PodPresetSpec is a description of a pod preset.

Fields

env: Option<Vec<EnvVar>>

Env defines the collection of EnvVar to inject into containers.

env_from: Option<Vec<EnvFromSource>>

EnvFrom defines the collection of EnvFromSource to inject into containers.

selector: Option<LabelSelector>

Selector is a label query over a set of resources, in this case pods. Required.

volume_mounts: Option<Vec<VolumeMount>>

VolumeMounts defines the collection of VolumeMount to inject into containers.

volumes: Option<Vec<Volume>>

Volumes defines the collection of Volume to inject into the pod.

Trait Implementations

impl Clone for PodPresetSpec[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<PodPresetSpec> for PodPresetSpec[src]

impl Default for PodPresetSpec[src]

impl Debug for PodPresetSpec[src]

impl Serialize for PodPresetSpec[src]

impl<'de> Deserialize<'de> for PodPresetSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]