Struct k8s_openapi_ext::corev1::ExecAction  
source · [−]Expand description
ExecAction describes a “run in container” action.
Fields
command: Option<Vec<String, Global>>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
sourceimpl Clone for ExecAction
 
impl Clone for ExecAction
sourcefn clone(&self) -> ExecAction
 
fn clone(&self) -> ExecAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for ExecAction
 
impl Debug for ExecAction
sourceimpl DeepMerge for ExecAction
 
impl DeepMerge for ExecAction
sourcefn merge_from(&mut self, other: ExecAction)
 
fn merge_from(&mut self, other: ExecAction)
Merge 
other into self.sourceimpl Default for ExecAction
 
impl Default for ExecAction
sourcefn default() -> ExecAction
 
fn default() -> ExecAction
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ExecAction
 
impl<'de> Deserialize<'de> for ExecAction
sourcefn deserialize<D>(
    deserializer: D
) -> Result<ExecAction, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D
) -> Result<ExecAction, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ExecAction> for ExecAction
 
impl PartialEq<ExecAction> for ExecAction
sourcefn eq(&self, other: &ExecAction) -> bool
 
fn eq(&self, other: &ExecAction) -> bool
sourceimpl Serialize for ExecAction
 
impl Serialize for ExecAction
sourcefn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExecAction
Auto Trait Implementations
impl RefUnwindSafe for ExecAction
impl Send for ExecAction
impl Sync for ExecAction
impl Unpin for ExecAction
impl UnwindSafe for ExecAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more