Struct k8s_gateway_api::GatewayStatus
source · [−]pub struct GatewayStatus {
pub addresses: Option<Vec<GatewayAddress>>,
pub conditions: Option<Vec<Condition>>,
pub listeners: Option<Vec<ListenerStatus>>,
}Expand description
GatewayStatus defines the observed state of Gateway.
Fields
addresses: Option<Vec<GatewayAddress>>Addresses lists the IP addresses that have actually been bound to the Gateway. These addresses may differ from the addresses in the Spec, e.g. if the Gateway automatically assigns an address from a reserved pool.
conditions: Option<Vec<Condition>>Conditions describe the current conditions of the Gateway.
Implementations should prefer to express Gateway conditions using the
GatewayConditionType and GatewayConditionReason constants so that
operators and tools can converge on a common vocabulary to describe
Gateway state.
Known condition types are:
- “Scheduled”
- “Ready”
listeners: Option<Vec<ListenerStatus>>Routes is a list of routes bound to the Gateway.
Trait Implementations
sourceimpl Clone for GatewayStatus
impl Clone for GatewayStatus
sourcefn clone(&self) -> GatewayStatus
fn clone(&self) -> GatewayStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GatewayStatus
impl Debug for GatewayStatus
sourceimpl<'de> Deserialize<'de> for GatewayStatus
impl<'de> Deserialize<'de> for GatewayStatus
sourcefn 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
sourceimpl JsonSchema for GatewayStatus
impl JsonSchema for GatewayStatus
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresourceimpl PartialEq<GatewayStatus> for GatewayStatus
impl PartialEq<GatewayStatus> for GatewayStatus
sourcefn eq(&self, other: &GatewayStatus) -> bool
fn eq(&self, other: &GatewayStatus) -> bool
sourceimpl Serialize for GatewayStatus
impl Serialize for GatewayStatus
impl StructuralPartialEq for GatewayStatus
Auto Trait Implementations
impl RefUnwindSafe for GatewayStatus
impl Send for GatewayStatus
impl Sync for GatewayStatus
impl Unpin for GatewayStatus
impl UnwindSafe for GatewayStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more