1 package v1
2
3
4
5
6
7
8
9
10
11
12
13
14 var map_EgressRouter = map[string]string{
15 "": "EgressRouter is a feature allowing the user to define an egress router that acts as a bridge between pods and external systems. The egress router runs a service that redirects egress traffic originating from a pod or a group of pods to a remote external system or multiple destinations as per configuration.\n\nIt is consumed by the cluster-network-operator. More specifically, given an EgressRouter CR with <name>, the CNO will create and manage: - A service called <name> - An egress pod called <name> - A NAD called <name>\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).\n\nEgressRouter is a single egressrouter pod configuration object.",
16 "metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
17 "spec": "Specification of the desired egress router.",
18 "status": "Observed status of EgressRouter.",
19 }
20
21 func (EgressRouter) SwaggerDoc() map[string]string {
22 return map_EgressRouter
23 }
24
25 var map_EgressRouterAddress = map[string]string{
26 "": "EgressRouterAddress contains a pair of IP CIDR and gateway to be configured on the router's interface",
27 "ip": "IP is the address to configure on the router's interface. Can be IPv4 or IPv6.",
28 "gateway": "IP address of the next-hop gateway, if it cannot be automatically determined. Can be IPv4 or IPv6.",
29 }
30
31 func (EgressRouterAddress) SwaggerDoc() map[string]string {
32 return map_EgressRouterAddress
33 }
34
35 var map_EgressRouterInterface = map[string]string{
36 "": "EgressRouterInterface contains the configuration of interface to create/use.",
37 "macvlan": "Arguments specific to the interfaceType macvlan",
38 }
39
40 func (EgressRouterInterface) SwaggerDoc() map[string]string {
41 return map_EgressRouterInterface
42 }
43
44 var map_EgressRouterList = map[string]string{
45 "": "EgressRouterList is the list of egress router pods requested.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
46 "metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
47 }
48
49 func (EgressRouterList) SwaggerDoc() map[string]string {
50 return map_EgressRouterList
51 }
52
53 var map_EgressRouterSpec = map[string]string{
54 "": "EgressRouterSpec contains the configuration for an egress router. Mode, networkInterface and addresses fields must be specified along with exactly one \"Config\" that matches the mode. Each config consists of parameters specific to that mode.",
55 "mode": "Mode depicts the mode that is used for the egress router. The default mode is \"Redirect\" and is the only supported mode currently.",
56 "redirect": "Redirect represents the configuration parameters specific to redirect mode.",
57 "networkInterface": "Specification of interface to create/use. The default is macvlan. Currently only macvlan is supported.",
58 "addresses": "List of IP addresses to configure on the pod's secondary interface.",
59 }
60
61 func (EgressRouterSpec) SwaggerDoc() map[string]string {
62 return map_EgressRouterSpec
63 }
64
65 var map_EgressRouterStatus = map[string]string{
66 "": "EgressRouterStatus contains the observed status of EgressRouter. Read-only.",
67 "conditions": "Observed status of the egress router",
68 }
69
70 func (EgressRouterStatus) SwaggerDoc() map[string]string {
71 return map_EgressRouterStatus
72 }
73
74 var map_EgressRouterStatusCondition = map[string]string{
75 "": "EgressRouterStatusCondition represents the state of the egress router's managed and monitored components.",
76 "type": "Type specifies the aspect reported by this condition; one of Available, Progressing, Degraded",
77 "status": "Status of the condition, one of True, False, Unknown.",
78 "lastTransitionTime": "LastTransitionTime is the time of the last update to the current status property.",
79 "reason": "Reason is the CamelCase reason for the condition's current status.",
80 "message": "Message provides additional information about the current condition. This is only to be consumed by humans. It may contain Line Feed characters (U+000A), which should be rendered as new lines.",
81 }
82
83 func (EgressRouterStatusCondition) SwaggerDoc() map[string]string {
84 return map_EgressRouterStatusCondition
85 }
86
87 var map_L4RedirectRule = map[string]string{
88 "": "L4RedirectRule defines a DNAT redirection from a given port to a destination IP and port.",
89 "destinationIP": "IP specifies the remote destination's IP address. Can be IPv4 or IPv6.",
90 "port": "Port is the port number to which clients should send traffic to be redirected.",
91 "protocol": "Protocol can be TCP, SCTP or UDP.",
92 "targetPort": "TargetPort allows specifying the port number on the remote destination to which the traffic gets redirected to. If unspecified, the value from \"Port\" is used.",
93 }
94
95 func (L4RedirectRule) SwaggerDoc() map[string]string {
96 return map_L4RedirectRule
97 }
98
99 var map_MacvlanConfig = map[string]string{
100 "": "MacvlanConfig consists of arguments specific to the macvlan EgressRouterInterfaceType",
101 "mode": "Mode depicts the mode that is used for the macvlan interface; one of Bridge|Private|VEPA|Passthru. The default mode is \"Bridge\".",
102 "master": "Name of the master interface. Need not be specified if it can be inferred from the IP address.",
103 }
104
105 func (MacvlanConfig) SwaggerDoc() map[string]string {
106 return map_MacvlanConfig
107 }
108
109 var map_RedirectConfig = map[string]string{
110 "": "RedirectConfig represents the configuration parameters specific to redirect mode.",
111 "redirectRules": "List of L4RedirectRules that define the DNAT redirection from the pod to the destination in redirect mode.",
112 "fallbackIP": "FallbackIP specifies the remote destination's IP address. Can be IPv4 or IPv6. If no redirect rules are specified, all traffic from the router are redirected to this IP. If redirect rules are specified, then any connections on any other port (undefined in the rules) on the router will be redirected to this IP. If redirect rules are specified and no fallback IP is provided, connections on other ports will simply be rejected.",
113 }
114
115 func (RedirectConfig) SwaggerDoc() map[string]string {
116 return map_RedirectConfig
117 }
118
119
120
View as plain text