Struct gapi_grpc::google::appengine::v1::ReadinessCheck[][src]

pub struct ReadinessCheck {
    pub path: String,
    pub host: String,
    pub failure_threshold: u32,
    pub success_threshold: u32,
    pub check_interval: Option<Duration>,
    pub timeout: Option<Duration>,
    pub app_start_timeout: Option<Duration>,
}

Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.

Fields

path: String

The request path.

host: String

Host header to send when performing a HTTP Readiness check. Example: “myapp.appspot.com”

failure_threshold: u32

Number of consecutive failed checks required before removing traffic.

success_threshold: u32

Number of consecutive successful checks required before receiving traffic.

check_interval: Option<Duration>

Interval between health checks.

timeout: Option<Duration>

Time before the check is considered failed.

app_start_timeout: Option<Duration>

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.

Trait Implementations

impl Clone for ReadinessCheck[src]

impl Debug for ReadinessCheck[src]

impl Default for ReadinessCheck[src]

impl Message for ReadinessCheck[src]

impl PartialEq<ReadinessCheck> for ReadinessCheck[src]

impl StructuralPartialEq for ReadinessCheck[src]

Auto Trait Implementations

impl RefUnwindSafe for ReadinessCheck

impl Send for ReadinessCheck

impl Sync for ReadinessCheck

impl Unpin for ReadinessCheck

impl UnwindSafe for ReadinessCheck

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]