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

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

ExecAction describes a "run in container" action.

Fields

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ExecAction
[src]

Formats the value using the given formatter. Read more

impl Default for ExecAction
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ExecAction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ExecAction
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for ExecAction

impl Sync for ExecAction