[][src]Struct k8_obj_core::pod::PodSpec

pub struct PodSpec {
    pub volumes: Vec<VolumeSpec>,
    pub containers: Vec<ContainerSpec>,
    pub restart_policy: Option<String>,
    pub service_account_name: Option<String>,
    pub service_account: Option<String>,
    pub node_name: Option<String>,
    pub termination_grace_period_seconds: Option<u16>,
    pub dns_policy: Option<String>,
    pub security_context: Option<PodSecurityContext>,
    pub scheduler_name: Option<String>,
}

Fields

volumes: Vec<VolumeSpec>containers: Vec<ContainerSpec>restart_policy: Option<String>service_account_name: Option<String>service_account: Option<String>node_name: Option<String>termination_grace_period_seconds: Option<u16>dns_policy: Option<String>security_context: Option<PodSecurityContext>scheduler_name: Option<String>

Trait Implementations

impl Clone for PodSpec[src]

impl Debug for PodSpec[src]

impl Default for PodSpec[src]

impl<'de> Deserialize<'de> for PodSpec where
    PodSpec: Default
[src]

impl Serialize for PodSpec[src]

impl Spec for PodSpec[src]

type Status = PodStatus

type Header = DefaultHeader

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: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument 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.