You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/apis/configuration/v1/types.go
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -178,15 +178,15 @@ type Upstream struct {
178
178
179
179
// UpstreamBuffers defines Buffer Configuration for an Upstream.
180
180
typeUpstreamBuffersstruct {
181
-
// Configures the number of buffers. The default is set in the proxy-buffers ConfigMap key.
181
+
// Configures the number of buffers. The default is set in the proxy-buffers ConfigMap key.
182
182
Numberint`json:"number"`
183
-
// Configures the size of a buffer. The default is set in the proxy-buffers ConfigMap key.
183
+
// Configures the size of a buffer. The default is set in the proxy-buffers ConfigMap key.
184
184
Sizestring`json:"size"`
185
185
}
186
186
187
187
// UpstreamTLS defines a TLS configuration for an Upstream.
188
188
typeUpstreamTLSstruct {
189
-
// Enables HTTPS for requests to upstream servers. The default is False , meaning that HTTP will be used. Note: by default, NGINX will not verify the upstream server certificate. To enable the verification, configure an EgressMTLS Policy.
189
+
// Enables HTTPS for requests to upstream servers. The default is False , meaning that HTTP will be used. Note: by default, NGINX will not verify the upstream server certificate. To enable the verification, configure an EgressMTLS Policy.
190
190
Enablebool`json:"enable"`
191
191
}
192
192
@@ -232,9 +232,9 @@ type HealthCheck struct {
232
232
233
233
// Header defines an HTTP Header.
234
234
typeHeaderstruct {
235
-
// The name of the header.
235
+
// The name of the header.
236
236
Namestring`json:"name"`
237
-
// The value of the header.
237
+
// The value of the header.
238
238
Valuestring`json:"value"`
239
239
}
240
240
@@ -347,7 +347,7 @@ type ProxyResponseHeaders struct {
347
347
// AddHeader defines an HTTP Header with an optional Always field to use with the add_header NGINX directive.
348
348
typeAddHeaderstruct {
349
349
Header`json:",inline"`
350
-
// If set to true, add the header regardless of the response status code**. Default is false. See the add_header directive for more information.
350
+
// If set to true, add the header regardless of the response status code**. Default is false. See the add_header directive for more information.
351
351
Alwaysbool`json:"always"`
352
352
}
353
353
@@ -546,7 +546,7 @@ type GlobalConfiguration struct {
546
546
metav1.TypeMeta`json:",inline"`
547
547
metav1.ObjectMeta`json:"metadata,omitempty"`
548
548
// spec field of the GlobalConfiguration resource
549
-
SpecGlobalConfigurationSpec`json:"spec"`
549
+
SpecGlobalConfigurationSpec`json:"spec"`
550
550
}
551
551
552
552
// GlobalConfigurationSpec is the spec of the GlobalConfiguration resource.
@@ -606,19 +606,19 @@ type TransportServer struct {
606
606
607
607
// TransportServerSpec is the spec of the TransportServer resource.
608
608
typeTransportServerSpecstruct {
609
-
// Specifies which Ingress Controller must handle the VirtualServer resource.
609
+
// Specifies which Ingress Controller must handle the VirtualServer resource.
610
610
IngressClassstring`json:"ingressClassName"`
611
-
// The TLS termination configuration.
611
+
// The TLS termination configuration.
612
612
TLS*TransportServerTLS`json:"tls"`
613
-
// Sets a custom HTTP and/or HTTPS listener. Valid fields are listener.http and listener.https. Each field must reference the name of a valid listener defined in a GlobalConfiguration resource
613
+
// Sets a custom HTTP and/or HTTPS listener. Valid fields are listener.http and listener.https. Each field must reference the name of a valid listener defined in a GlobalConfiguration resource
614
614
ListenerTransportServerListener`json:"listener"`
615
615
// Sets a custom snippet in server context. Overrides the server-snippets ConfigMap key.
616
616
ServerSnippetsstring`json:"serverSnippets"`
617
617
// Sets a custom snippet in the stream context. Overrides the stream-snippets ConfigMap key.
618
618
StreamSnippetsstring`json:"streamSnippets"`
619
-
// The host (domain name) of the server. Must be a valid subdomain as defined in RFC 1123, such as my-app or hello.example.com. When using a wildcard domain like *.example.com the domain must be contained in double quotes. The host value needs to be unique among all Ingress and VirtualServer resources. See also Handling Host and Listener Collisions.
619
+
// The host (domain name) of the server. Must be a valid subdomain as defined in RFC 1123, such as my-app or hello.example.com. When using a wildcard domain like *.example.com the domain must be contained in double quotes. The host value needs to be unique among all Ingress and VirtualServer resources. See also Handling Host and Listener Collisions.
0 commit comments