k8s.io/api/discovery: remove API docs referencing EndpointSliceTerminatingCondition feature gate

Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
This commit is contained in:
Andrew Sy Kim 2022-10-25 21:28:16 -04:00
parent c11368cb93
commit 219300c26b
10 changed files with 22 additions and 32 deletions

View File

@ -9603,11 +9603,11 @@
"type": "boolean" "type": "boolean"
}, },
"serving": { "serving": {
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
"type": "boolean" "type": "boolean"
}, },
"terminating": { "terminating": {
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
"type": "boolean" "type": "boolean"
} }
}, },

View File

@ -107,11 +107,11 @@
"type": "boolean" "type": "boolean"
}, },
"serving": { "serving": {
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
"type": "boolean" "type": "boolean"
}, },
"terminating": { "terminating": {
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
"type": "boolean" "type": "boolean"
} }
}, },

View File

@ -118,15 +118,13 @@ type EndpointConditions struct {
// serving is identical to ready except that it is set regardless of the // serving is identical to ready except that it is set regardless of the
// terminating state of endpoints. This condition should be set to true for // terminating state of endpoints. This condition should be set to true for
// a ready endpoint that is terminating. If nil, consumers should defer to // a ready endpoint that is terminating. If nil, consumers should defer to
// the ready condition. This field can be enabled with the // the ready condition.
// EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
Serving *bool Serving *bool
// terminating indicates that this endpoint is terminating. A nil value // terminating indicates that this endpoint is terminating. A nil value
// indicates an unknown state. Consumers should interpret this unknown state // indicates an unknown state. Consumers should interpret this unknown state
// to mean that the endpoint is not terminating. This field can be enabled // to mean that the endpoint is not terminating.
// with the EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
Terminating *bool Terminating *bool
} }

View File

@ -26965,14 +26965,14 @@ func schema_k8sio_api_discovery_v1_EndpointConditions(ref common.ReferenceCallba
}, },
"serving": { "serving": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", Description: "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },
}, },
"terminating": { "terminating": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", Description: "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },
@ -27320,14 +27320,14 @@ func schema_k8sio_api_discovery_v1beta1_EndpointConditions(ref common.ReferenceC
}, },
"serving": { "serving": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", Description: "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },
}, },
"terminating": { "terminating": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", Description: "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
Type: []string{"boolean"}, Type: []string{"boolean"},
Format: "", Format: "",
}, },

View File

@ -93,15 +93,13 @@ message EndpointConditions {
// serving is identical to ready except that it is set regardless of the // serving is identical to ready except that it is set regardless of the
// terminating state of endpoints. This condition should be set to true for // terminating state of endpoints. This condition should be set to true for
// a ready endpoint that is terminating. If nil, consumers should defer to // a ready endpoint that is terminating. If nil, consumers should defer to
// the ready condition. This field can be enabled with the // the ready condition.
// EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
optional bool serving = 2; optional bool serving = 2;
// terminating indicates that this endpoint is terminating. A nil value // terminating indicates that this endpoint is terminating. A nil value
// indicates an unknown state. Consumers should interpret this unknown state // indicates an unknown state. Consumers should interpret this unknown state
// to mean that the endpoint is not terminating. This field can be enabled // to mean that the endpoint is not terminating.
// with the EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
optional bool terminating = 3; optional bool terminating = 3;
} }

View File

@ -126,15 +126,13 @@ type EndpointConditions struct {
// serving is identical to ready except that it is set regardless of the // serving is identical to ready except that it is set regardless of the
// terminating state of endpoints. This condition should be set to true for // terminating state of endpoints. This condition should be set to true for
// a ready endpoint that is terminating. If nil, consumers should defer to // a ready endpoint that is terminating. If nil, consumers should defer to
// the ready condition. This field can be enabled with the // the ready condition.
// EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
Serving *bool `json:"serving,omitempty" protobuf:"bytes,2,name=serving"` Serving *bool `json:"serving,omitempty" protobuf:"bytes,2,name=serving"`
// terminating indicates that this endpoint is terminating. A nil value // terminating indicates that this endpoint is terminating. A nil value
// indicates an unknown state. Consumers should interpret this unknown state // indicates an unknown state. Consumers should interpret this unknown state
// to mean that the endpoint is not terminating. This field can be enabled // to mean that the endpoint is not terminating.
// with the EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
Terminating *bool `json:"terminating,omitempty" protobuf:"bytes,3,name=terminating"` Terminating *bool `json:"terminating,omitempty" protobuf:"bytes,3,name=terminating"`
} }

View File

@ -46,8 +46,8 @@ func (Endpoint) SwaggerDoc() map[string]string {
var map_EndpointConditions = map[string]string{ var map_EndpointConditions = map[string]string{
"": "EndpointConditions represents the current condition of an endpoint.", "": "EndpointConditions represents the current condition of an endpoint.",
"ready": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints.", "ready": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints.",
"serving": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "serving": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
"terminating": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "terminating": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
} }
func (EndpointConditions) SwaggerDoc() map[string]string { func (EndpointConditions) SwaggerDoc() map[string]string {

View File

@ -97,15 +97,13 @@ message EndpointConditions {
// serving is identical to ready except that it is set regardless of the // serving is identical to ready except that it is set regardless of the
// terminating state of endpoints. This condition should be set to true for // terminating state of endpoints. This condition should be set to true for
// a ready endpoint that is terminating. If nil, consumers should defer to // a ready endpoint that is terminating. If nil, consumers should defer to
// the ready condition. This field can be enabled with the // the ready condition.
// EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
optional bool serving = 2; optional bool serving = 2;
// terminating indicates that this endpoint is terminating. A nil value // terminating indicates that this endpoint is terminating. A nil value
// indicates an unknown state. Consumers should interpret this unknown state // indicates an unknown state. Consumers should interpret this unknown state
// to mean that the endpoint is not terminating. This field can be enabled // to mean that the endpoint is not terminating.
// with the EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
optional bool terminating = 3; optional bool terminating = 3;
} }

View File

@ -132,15 +132,13 @@ type EndpointConditions struct {
// serving is identical to ready except that it is set regardless of the // serving is identical to ready except that it is set regardless of the
// terminating state of endpoints. This condition should be set to true for // terminating state of endpoints. This condition should be set to true for
// a ready endpoint that is terminating. If nil, consumers should defer to // a ready endpoint that is terminating. If nil, consumers should defer to
// the ready condition. This field can be enabled with the // the ready condition.
// EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
Serving *bool `json:"serving,omitempty" protobuf:"bytes,2,name=serving"` Serving *bool `json:"serving,omitempty" protobuf:"bytes,2,name=serving"`
// terminating indicates that this endpoint is terminating. A nil value // terminating indicates that this endpoint is terminating. A nil value
// indicates an unknown state. Consumers should interpret this unknown state // indicates an unknown state. Consumers should interpret this unknown state
// to mean that the endpoint is not terminating. This field can be enabled // to mean that the endpoint is not terminating.
// with the EndpointSliceTerminatingCondition feature gate.
// +optional // +optional
Terminating *bool `json:"terminating,omitempty" protobuf:"bytes,3,name=terminating"` Terminating *bool `json:"terminating,omitempty" protobuf:"bytes,3,name=terminating"`
} }

View File

@ -45,8 +45,8 @@ func (Endpoint) SwaggerDoc() map[string]string {
var map_EndpointConditions = map[string]string{ var map_EndpointConditions = map[string]string{
"": "EndpointConditions represents the current condition of an endpoint.", "": "EndpointConditions represents the current condition of an endpoint.",
"ready": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints.", "ready": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints.",
"serving": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "serving": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
"terminating": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", "terminating": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
} }
func (EndpointConditions) SwaggerDoc() map[string]string { func (EndpointConditions) SwaggerDoc() map[string]string {