gateway_api/apis/experimental/
constants.rs

1// WARNING: generated file - manual changes will be overriden
2
3#[derive(Debug, PartialEq, Eq)]
4pub enum GatewayClassConditionType {
5    Accepted,
6    SupportedVersion,
7}
8
9impl std::fmt::Display for GatewayClassConditionType {
10    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
11        write!(f, "{:?}", self)
12    }
13}
14
15#[derive(Debug, PartialEq, Eq)]
16pub enum GatewayClassConditionReason {
17    Accepted,
18    InvalidParameters,
19    Pending,
20    Unsupported,
21    Waiting,
22    SupportedVersion,
23    UnsupportedVersion,
24}
25
26impl std::fmt::Display for GatewayClassConditionReason {
27    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
28        write!(f, "{:?}", self)
29    }
30}
31
32#[derive(Debug, PartialEq, Eq)]
33pub enum GatewayConditionType {
34    Programmed,
35    Accepted,
36    Ready,
37}
38
39impl std::fmt::Display for GatewayConditionType {
40    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
41        write!(f, "{:?}", self)
42    }
43}
44
45#[derive(Debug, PartialEq, Eq)]
46pub enum GatewayConditionReason {
47    Programmed,
48    Invalid,
49    NoResources,
50    AddressNotAssigned,
51    AddressNotUsable,
52    Accepted,
53    ListenersNotValid,
54    Pending,
55    UnsupportedAddress,
56    InvalidParameters,
57    Ready,
58    ListenersNotReady,
59}
60
61impl std::fmt::Display for GatewayConditionReason {
62    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
63        write!(f, "{:?}", self)
64    }
65}
66
67#[derive(Debug, PartialEq, Eq)]
68pub enum ListenerConditionType {
69    Conflicted,
70    Accepted,
71    ResolvedRefs,
72    Programmed,
73    Ready,
74}
75
76impl std::fmt::Display for ListenerConditionType {
77    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
78        write!(f, "{:?}", self)
79    }
80}
81
82#[derive(Debug, PartialEq, Eq)]
83pub enum ListenerConditionReason {
84    HostnameConflict,
85    ProtocolConflict,
86    NoConflicts,
87    Accepted,
88    PortUnavailable,
89    UnsupportedProtocol,
90    ResolvedRefs,
91    InvalidCertificateRef,
92    InvalidRouteKinds,
93    RefNotPermitted,
94    Programmed,
95    Invalid,
96    Pending,
97    Ready,
98}
99
100impl std::fmt::Display for ListenerConditionReason {
101    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
102        write!(f, "{:?}", self)
103    }
104}