pub struct ContainerHealthCheckConfig {
pub health_check_on_failure_action: Option<i64>,
pub healthconfig: Option<Box<Schema2HealthConfig>>,
pub startup_health_config: Option<Box<StartupHealthCheck>>,
}
Expand description
ContainerHealthCheckConfig : ContainerHealthCheckConfig describes a container healthcheck with attributes like command, retries, interval, start period, and timeout.
Fields§
§health_check_on_failure_action: Option<i64>
HealthCheckOnFailureAction defines how Podman reacts when a container’s health status turns unhealthy.
healthconfig: Option<Box<Schema2HealthConfig>>
§startup_health_config: Option<Box<StartupHealthCheck>>
Implementations§
Source§impl ContainerHealthCheckConfig
impl ContainerHealthCheckConfig
Sourcepub fn new() -> ContainerHealthCheckConfig
pub fn new() -> ContainerHealthCheckConfig
ContainerHealthCheckConfig describes a container healthcheck with attributes like command, retries, interval, start period, and timeout.
Trait Implementations§
Source§impl Clone for ContainerHealthCheckConfig
impl Clone for ContainerHealthCheckConfig
Source§fn clone(&self) -> ContainerHealthCheckConfig
fn clone(&self) -> ContainerHealthCheckConfig
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 ContainerHealthCheckConfig
impl Debug for ContainerHealthCheckConfig
Source§impl Default for ContainerHealthCheckConfig
impl Default for ContainerHealthCheckConfig
Source§fn default() -> ContainerHealthCheckConfig
fn default() -> ContainerHealthCheckConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerHealthCheckConfig
impl<'de> Deserialize<'de> for ContainerHealthCheckConfig
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
impl StructuralPartialEq for ContainerHealthCheckConfig
Auto Trait Implementations§
impl Freeze for ContainerHealthCheckConfig
impl RefUnwindSafe for ContainerHealthCheckConfig
impl Send for ContainerHealthCheckConfig
impl Sync for ContainerHealthCheckConfig
impl Unpin for ContainerHealthCheckConfig
impl UnwindSafe for ContainerHealthCheckConfig
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