mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
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:
parent
c11368cb93
commit
219300c26b
4
api/openapi-spec/swagger.json
generated
4
api/openapi-spec/swagger.json
generated
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
8
pkg/generated/openapi/zz_generated.openapi.go
generated
8
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -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: "",
|
||||||
},
|
},
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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"`
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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"`
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user