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§
Source§impl Clone for GatewayStatus
impl Clone for GatewayStatus
Source§fn clone(&self) -> GatewayStatus
fn clone(&self) -> GatewayStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GatewayStatus
impl Debug for GatewayStatus
Source§impl<'de> Deserialize<'de> for GatewayStatus
impl<'de> Deserialize<'de> for GatewayStatus
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
Source§impl JsonSchema for GatewayStatus
impl JsonSchema for GatewayStatus
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn 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 moreSource§impl PartialEq for GatewayStatus
impl PartialEq for GatewayStatus
Source§impl Serialize for GatewayStatus
impl Serialize for GatewayStatus
impl StructuralPartialEq for GatewayStatus
Auto Trait Implementations§
impl Freeze for GatewayStatus
impl RefUnwindSafe for GatewayStatus
impl Send for GatewayStatus
impl Sync for GatewayStatus
impl Unpin for GatewayStatus
impl UnwindSafe for GatewayStatus
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