pub struct FloatingIpHealthCheck {
pub protocol: FloatingIpHealthCheckProtocol,
pub path: Option<String>,
pub port: i64,
pub interval_sec: i64,
pub timeout_sec: i64,
pub healthy_threshold: i64,
pub unhealthy_threshold: i64,
pub matcher: Option<String>,
}Fields§
§protocol: FloatingIpHealthCheckProtocoltcp opens a connection; http/https issue a GET and match the status against matcher. There is no udp: a readiness probe needs an answer — check a udp service on a tcp health port instead.
path: Option<String>HTTP path probed; ignored for tcp.
port: i64Port probed on the member.
interval_sec: i64§timeout_sec: i64Per-probe timeout; must be less than interval_sec.
healthy_threshold: i64Consecutive passes before a member flips healthy.
unhealthy_threshold: i64Consecutive failures before a member flips unhealthy.
matcher: Option<String>HTTP status or range that counts as passing; ignored for tcp.
Trait Implementations§
Source§impl Clone for FloatingIpHealthCheck
impl Clone for FloatingIpHealthCheck
Source§impl Debug for FloatingIpHealthCheck
impl Debug for FloatingIpHealthCheck
Source§impl<'de> Deserialize<'de> for FloatingIpHealthCheck
impl<'de> Deserialize<'de> for FloatingIpHealthCheck
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
Auto Trait Implementations§
impl Freeze for FloatingIpHealthCheck
impl RefUnwindSafe for FloatingIpHealthCheck
impl Send for FloatingIpHealthCheck
impl Sync for FloatingIpHealthCheck
impl Unpin for FloatingIpHealthCheck
impl UnsafeUnpin for FloatingIpHealthCheck
impl UnwindSafe for FloatingIpHealthCheck
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