[][src]Struct openshift_openapi::api::apps::v1::LifecycleHook

pub struct LifecycleHook {
    pub exec_new_pod: Option<ExecNewPodHook>,
    pub failure_policy: String,
    pub tag_images: Option<Vec<TagImageHook>>,
}

LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time.

Fields

exec_new_pod: Option<ExecNewPodHook>

ExecNewPod specifies the options for a lifecycle hook backed by a pod.

failure_policy: String

FailurePolicy specifies what action to take if the hook fails.

tag_images: Option<Vec<TagImageHook>>

TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag.

Trait Implementations

impl Clone for LifecycleHook[src]

impl Debug for LifecycleHook[src]

impl Default for LifecycleHook[src]

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

impl PartialEq<LifecycleHook> for LifecycleHook[src]

impl Serialize for LifecycleHook[src]

impl StructuralPartialEq for LifecycleHook[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: for<'de> 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.