[][src]Struct k8_obj_core::pod::ContainerSpec

pub struct ContainerSpec {
    pub name: String,
    pub ports: Vec<ContainerPortSpec>,
    pub image: Option<String>,
    pub image_pull_policy: Option<String>,
    pub volume_mounts: Vec<VolumeMount>,
    pub env: Option<Vec<Env>>,
    pub resource: Option<ResourceRequirements>,
    pub termination_mssage_path: Option<String>,
    pub termination_message_policy: Option<String>,
    pub tty: Option<bool>,
}

Fields

name: Stringports: Vec<ContainerPortSpec>image: Option<String>image_pull_policy: Option<String>volume_mounts: Vec<VolumeMount>env: Option<Vec<Env>>resource: Option<ResourceRequirements>termination_mssage_path: Option<String>termination_message_policy: Option<String>tty: Option<bool>

Trait Implementations

impl Clone for ContainerSpec[src]

impl Debug for ContainerSpec[src]

impl Default for ContainerSpec[src]

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

impl Serialize for ContainerSpec[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.