mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Update generated files
This commit is contained in:
parent
9a805db010
commit
06e1692371
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@ -4948,7 +4948,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"restartPolicy": {
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -1315,7 +1315,7 @@
|
||||
},
|
||||
"restartPolicy": {
|
||||
"default": "",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -1919,7 +1919,7 @@
|
||||
},
|
||||
"restartPolicy": {
|
||||
"default": "",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -1210,7 +1210,7 @@
|
||||
},
|
||||
"restartPolicy": {
|
||||
"default": "",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
2
pkg/generated/openapi/zz_generated.openapi.go
generated
2
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -17413,7 +17413,7 @@ func schema_k8sio_api_core_v1_ContainerResizePolicy(ref common.ReferenceCallback
|
||||
},
|
||||
"restartPolicy": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
Description: "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
|
@ -875,7 +875,7 @@ message ContainerResizePolicy {
|
||||
optional string resourceName = 1;
|
||||
|
||||
// Restart policy to apply when specified resource is resized.
|
||||
// If not specified, it defaults to RestartNotRequired.
|
||||
// If not specified, it defaults to NotRequired.
|
||||
optional string restartPolicy = 2;
|
||||
}
|
||||
|
||||
|
@ -392,7 +392,7 @@ func (ContainerPort) SwaggerDoc() map[string]string {
|
||||
var map_ContainerResizePolicy = map[string]string{
|
||||
"": "ContainerResizePolicy represents resource resize policy for the container.",
|
||||
"resourceName": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
|
||||
"restartPolicy": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"restartPolicy": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
|
||||
}
|
||||
|
||||
func (ContainerResizePolicy) SwaggerDoc() map[string]string {
|
||||
|
Loading…
Reference in New Issue
Block a user