pub struct IntegrationTemplateSpecInitContainersLifecyclePostStart {
pub exec: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartExec>,
pub http_get: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartHttpGet>,
pub sleep: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartSleep>,
pub tcp_socket: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartTcpSocket>,
}Expand description
PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
Fields§
§exec: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartExec>Exec specifies a command to execute in the container.
http_get: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartHttpGet>HTTPGet specifies an HTTP GET request to perform.
sleep: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartSleep>Sleep represents a duration that the container should sleep.
tcp_socket: Option<IntegrationTemplateSpecInitContainersLifecyclePostStartTcpSocket>Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.
Trait Implementations§
Source§impl Clone for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl Clone for IntegrationTemplateSpecInitContainersLifecyclePostStart
Source§fn clone(&self) -> IntegrationTemplateSpecInitContainersLifecyclePostStart
fn clone(&self) -> IntegrationTemplateSpecInitContainersLifecyclePostStart
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl Default for IntegrationTemplateSpecInitContainersLifecyclePostStart
Source§fn default() -> IntegrationTemplateSpecInitContainersLifecyclePostStart
fn default() -> IntegrationTemplateSpecInitContainersLifecyclePostStart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl<'de> Deserialize<'de> for IntegrationTemplateSpecInitContainersLifecyclePostStart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl PartialEq for IntegrationTemplateSpecInitContainersLifecyclePostStart
Source§fn eq(
&self,
other: &IntegrationTemplateSpecInitContainersLifecyclePostStart,
) -> bool
fn eq( &self, other: &IntegrationTemplateSpecInitContainersLifecyclePostStart, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegrationTemplateSpecInitContainersLifecyclePostStart
Auto Trait Implementations§
impl Freeze for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl RefUnwindSafe for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl Send for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl Sync for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl Unpin for IntegrationTemplateSpecInitContainersLifecyclePostStart
impl UnwindSafe for IntegrationTemplateSpecInitContainersLifecyclePostStart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more