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
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ type ProviderSpecificProperty struct {
108
108
109
109
// PolicyReference references a policy by name and an optional namespace.
110
110
typePolicyReferencestruct {
111
-
// The name of a policy. If the policy doesn’t exist or invalid, NGINX will respond with an error response with the 500 status code.
111
+
// The name of a policy. If the policy doesn’t exist or invalid, NGINX will respond with an error response with the 500 status code.
112
112
Namestring`json:"name"`
113
113
// The namespace of a policy. If not specified, the namespace of the VirtualServer resource is used.
114
114
Namespacestring`json:"namespace"`
@@ -118,7 +118,7 @@ type PolicyReference struct {
118
118
typeUpstreamstruct {
119
119
// The name of the upstream. Must be a valid DNS label as defined in RFC 1035. For example, hello and upstream-123 are valid. The name must be unique among all upstreams of the resource.
120
120
Namestring`json:"name"`
121
-
// The name of a service. The service must belong to the same namespace as the resource. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported (check the prerequisites).
121
+
// The name of a service. The service must belong to the same namespace as the resource. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported (check the prerequisites).
122
122
Servicestring`json:"service"`
123
123
// Selects the pods within the service using label keys and values. By default, all pods of the service are selected. Note: the specified labels are expected to be present in the pods when they are created. If the pod labels are updated, NGINX Ingress Controller will not see that change until the number of the pods is changed.
124
124
Subselectormap[string]string`json:"subselector"`
@@ -246,7 +246,7 @@ type SessionCookie struct {
246
246
Namestring`json:"name"`
247
247
// The path for which the cookie is set.
248
248
Pathstring`json:"path"`
249
-
// The time for which a browser should keep the cookie. Can be set to the special value max, which will cause the cookie to expire on 31 Dec 2037 23:55:55 GMT.
249
+
// The time for which a browser should keep the cookie. Can be set to the special value max, which will cause the cookie to expire on 31 Dec 2037 23:55:55 GMT.
250
250
Expiresstring`json:"expires"`
251
251
// The domain for which the cookie is set.
252
252
Domainstring`json:"domain"`
@@ -564,7 +564,7 @@ type Listener struct {
564
564
Portint`json:"port"`
565
565
// Specifies the IPv4 address to listen on.
566
566
IPv4string`json:"ipv4"`
567
-
// ipv6 addresses that NGINX will listen on.
567
+
// ipv6 addresse that NGINX will listen on.
568
568
IPv6string`json:"ipv6"`
569
569
// Whether the listener will be listening for SSL connections
570
570
Sslbool`json:"ssl"`
@@ -655,7 +655,7 @@ type TransportServerUpstream struct {
// The method used to load balance the upstream servers. By default, connections are distributed between the servers using a weighted round-robin balancing method.
// The name of the backup service of type ExternalName. This will be used when the primary servers are unavailable. Note: The parameter cannot be used along with the random, hash or ip_hash load balancing methods.
658
+
// The name of the backup service of type ExternalName. This will be used when the primary servers are unavailable. Note: The parameter cannot be used along with the random, hash or ip_hash load balancing methods.
659
659
Backupstring`json:"backup"`
660
660
// The port of the backup service. The backup port is required if the backup service name is provided. The port must fall into the range 1..65535.
661
661
BackupPort*uint16`json:"backupPort"`
@@ -733,8 +733,7 @@ type TransportServerStatus struct {
733
733
typeTransportServerListstruct {
734
734
metav1.TypeMeta`json:",inline"`
735
735
metav1.ListMeta`json:"metadata"`
736
-
// Items field of the TransportServerList resource
737
-
Items []TransportServer`json:"items"`
736
+
Items []TransportServer`json:"items"`
738
737
}
739
738
740
739
// +genclient
@@ -814,7 +813,7 @@ type RateLimit struct {
814
813
Ratestring`json:"rate"`
815
814
// The key to which the rate limit is applied. Can contain text, variables, or a combination of them.
816
815
// Variables must be surrounded by ${}. For example: ${binary_remote_addr}. Accepted variables are
0 commit comments