[−][src]Struct k8s_openapi::api::discovery::v1beta1::EndpointConditions
EndpointConditions represents the current condition of an endpoint.
Fields
ready: Option<bool>
ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be "true" for terminating endpoints.
serving: Option<bool>
serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.
terminating: Option<bool>
terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.
Trait Implementations
impl Clone for EndpointConditions
[src]
pub fn clone(&self) -> EndpointConditions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EndpointConditions
[src]
impl Default for EndpointConditions
[src]
pub fn default() -> EndpointConditions
[src]
impl<'de> Deserialize<'de> for EndpointConditions
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<EndpointConditions> for EndpointConditions
[src]
pub fn eq(&self, other: &EndpointConditions) -> bool
[src]
pub fn ne(&self, other: &EndpointConditions) -> bool
[src]
impl Serialize for EndpointConditions
[src]
impl StructuralPartialEq for EndpointConditions
[src]
Auto Trait Implementations
impl RefUnwindSafe for EndpointConditions
[src]
impl Send for EndpointConditions
[src]
impl Sync for EndpointConditions
[src]
impl Unpin for EndpointConditions
[src]
impl UnwindSafe for EndpointConditions
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,