mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +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"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"restartPolicy": {
|
"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"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1315,7 +1315,7 @@
|
|||||||
},
|
},
|
||||||
"restartPolicy": {
|
"restartPolicy": {
|
||||||
"default": "",
|
"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"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1919,7 +1919,7 @@
|
|||||||
},
|
},
|
||||||
"restartPolicy": {
|
"restartPolicy": {
|
||||||
"default": "",
|
"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"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1210,7 +1210,7 @@
|
|||||||
},
|
},
|
||||||
"restartPolicy": {
|
"restartPolicy": {
|
||||||
"default": "",
|
"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"
|
"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": {
|
"restartPolicy": {
|
||||||
SchemaProps: spec.SchemaProps{
|
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: "",
|
Default: "",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
|
@ -875,7 +875,7 @@ message ContainerResizePolicy {
|
|||||||
optional string resourceName = 1;
|
optional string resourceName = 1;
|
||||||
|
|
||||||
// Restart policy to apply when specified resource is resized.
|
// 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;
|
optional string restartPolicy = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -392,7 +392,7 @@ func (ContainerPort) SwaggerDoc() map[string]string {
|
|||||||
var map_ContainerResizePolicy = map[string]string{
|
var map_ContainerResizePolicy = map[string]string{
|
||||||
"": "ContainerResizePolicy represents resource resize policy for the container.",
|
"": "ContainerResizePolicy represents resource resize policy for the container.",
|
||||||
"resourceName": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
|
"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 {
|
func (ContainerResizePolicy) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user