pub struct ContainerProbe {
pub exec: Option<ContainerExec>,
pub http_get: Option<ContainerHttpGet>,
pub initial_delay_seconds: Option<i32>,
pub period_seconds: Option<i32>,
pub failure_threshold: Option<i32>,
pub success_threshold: Option<i32>,
pub timeout_seconds: Option<i32>,
}Expand description
The container probe, for liveness or readiness
Fields§
§exec: Option<ContainerExec>The container execution command, for liveness or readiness probe
http_get: Option<ContainerHttpGet>The container Http Get settings, for liveness or readiness probe
initial_delay_seconds: Option<i32>The initial delay seconds.
period_seconds: Option<i32>The period seconds.
failure_threshold: Option<i32>The failure threshold.
success_threshold: Option<i32>The success threshold.
timeout_seconds: Option<i32>The timeout seconds.
Implementations§
Trait Implementations§
Source§impl Clone for ContainerProbe
impl Clone for ContainerProbe
Source§fn clone(&self) -> ContainerProbe
fn clone(&self) -> ContainerProbe
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 Debug for ContainerProbe
impl Debug for ContainerProbe
Source§impl Default for ContainerProbe
impl Default for ContainerProbe
Source§fn default() -> ContainerProbe
fn default() -> ContainerProbe
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerProbe
impl<'de> Deserialize<'de> for ContainerProbe
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 ContainerProbe
impl PartialEq for ContainerProbe
Source§impl Serialize for ContainerProbe
impl Serialize for ContainerProbe
impl StructuralPartialEq for ContainerProbe
Auto Trait Implementations§
impl Freeze for ContainerProbe
impl RefUnwindSafe for ContainerProbe
impl Send for ContainerProbe
impl Sync for ContainerProbe
impl Unpin for ContainerProbe
impl UnwindSafe for ContainerProbe
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