[−][src]Struct openshift_openapi::api::apps::v1::ExecNewPodHook
ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template.
Fields
command: Vec<String>
Command is the action command and its arguments.
container_name: String
ContainerName is the name of a container in the deployment pod template whose container image will be used for the hook pod's container.
env: Option<Vec<EnvVar>>
Env is a set of environment variables to supply to the hook pod's container.
volumes: Option<Vec<String>>
Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied.
Trait Implementations
impl Clone for ExecNewPodHook
[src]
fn clone(&self) -> ExecNewPodHook
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExecNewPodHook
[src]
impl Default for ExecNewPodHook
[src]
fn default() -> ExecNewPodHook
[src]
impl<'de> Deserialize<'de> for ExecNewPodHook
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<ExecNewPodHook> for ExecNewPodHook
[src]
fn eq(&self, other: &ExecNewPodHook) -> bool
[src]
fn ne(&self, other: &ExecNewPodHook) -> bool
[src]
impl Serialize for ExecNewPodHook
[src]
impl StructuralPartialEq for ExecNewPodHook
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExecNewPodHook
impl Send for ExecNewPodHook
impl Sync for ExecNewPodHook
impl Unpin for ExecNewPodHook
impl UnwindSafe for ExecNewPodHook
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,