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
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -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 .
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"`
@@ -548,7 +548,7 @@ type GlobalConfiguration struct {
548
548
SpecGlobalConfigurationSpec`json:"spec"`
549
549
}
550
550
551
-
// GlobalConfigurationSpec is the spec of the GlobalConfiguration resource.
551
+
// The GlobalConfiguration resource defines the global configuration parameters of the Ingress Controller.
552
552
typeGlobalConfigurationSpecstruct {
553
553
// Listeners field of the GlobalConfigurationSpec resource
554
554
Listeners []Listener`json:"listeners"`
@@ -596,7 +596,7 @@ type TransportServer struct {
596
596
metav1.TypeMeta`json:",inline"`
597
597
metav1.ObjectMeta`json:"metadata,omitempty"`
598
598
SpecTransportServerSpec`json:"spec"`
599
-
// status field of the TransportServer resource
599
+
// The status of the TransportServer resource
600
600
StatusTransportServerStatus`json:"status"`
601
601
}
602
602
@@ -616,7 +616,7 @@ type TransportServerSpec struct {
@@ -719,7 +719,7 @@ type TransportServerAction struct {
719
719
720
720
// TransportServerStatus defines the status for the TransportServer resource.
721
721
typeTransportServerStatusstruct {
722
-
// Represents the current state of the resource. There are three possible values: Valid, Invalid and Warning. Valid indicates that the resource has been validated and accepted by the Ingress Controller. Invalid means the resource failed validation or
722
+
// Represents the current state of the resource. Possible values: Valid (resource validated and accepted), Invalid (validation failed or config reload failed), or Warning (validated but may work in degraded state).
723
723
Statestring`json:"state"`
724
724
// The reason of the current state of the resource.
0 commit comments