[][src]Struct k8s_openapi::api::core::v1::ExecAction

pub struct ExecAction {
    pub command: Option<Vec<String>>,
}

ExecAction describes a "run in container" action.

Fields

command: Option<Vec<String>>

Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

Trait Implementations

impl Clone for ExecAction[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<ExecAction> for ExecAction[src]

impl Default for ExecAction[src]

impl Debug for ExecAction[src]

impl Serialize for ExecAction[src]

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

Auto Trait Implementations

impl Send for ExecAction

impl Sync for ExecAction

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]