[][src]Struct k8s_csi::v1_3_0::ProbeResponse

pub struct ProbeResponse {
    pub ready: Option<bool>,
}

Fields

ready: Option<bool>

Readiness allows a plugin to report its initialization status back to the CO. Initialization for some plugins MAY be time consuming and it is important for a CO to distinguish between the following cases:

  1. The plugin is in an unhealthy state and MAY need restarting. In this case a gRPC error code SHALL be returned.
  2. The plugin is still initializing, but is otherwise perfectly healthy. In this case a successful response SHALL be returned with a readiness value of false. Calls to the plugin's Controller and/or Node services MAY fail due to an incomplete initialization state.
  3. The plugin has finished initializing and is ready to service calls to its Controller and/or Node services. A successful response is returned with a readiness value of true.

This field is OPTIONAL. If not present, the caller SHALL assume that the plugin is in a ready state and is accepting calls to its Controller and/or Node services (according to the plugin's reported capabilities).

Trait Implementations

impl Clone for ProbeResponse[src]

impl Debug for ProbeResponse[src]

impl Default for ProbeResponse[src]

impl Message for ProbeResponse[src]

impl PartialEq<ProbeResponse> for ProbeResponse[src]

impl StructuralPartialEq for ProbeResponse[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]