Restructure naming of resource resize restart policy - generated files

This commit is contained in:
vinay kulkarni
2023-02-28 08:13:36 +00:00
parent 8b23497ae7
commit c5130fb0d6
68 changed files with 1149 additions and 1149 deletions

View File

@@ -17400,27 +17400,27 @@ func schema_k8sio_api_core_v1_ContainerResizePolicy(ref common.ReferenceCallback
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "ContainerResizePolicy represents resource resize policy for a single container.",
Description: "ContainerResizePolicy represents resource resize policy for the container.",
Type: []string{"object"},
Properties: map[string]spec.Schema{
"resourceName": {
SchemaProps: spec.SchemaProps{
Description: "Name of the resource type to which this resource resize policy applies. Supported values: cpu, memory.",
Description: "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
Default: "",
Type: []string{"string"},
Format: "",
},
},
"policy": {
"restartPolicy": {
SchemaProps: spec.SchemaProps{
Description: "Resource resize policy applicable to the specified resource name. If not specified, it defaults to RestartNotRequired.",
Description: "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
Default: "",
Type: []string{"string"},
Format: "",
},
},
},
Required: []string{"resourceName", "policy"},
Required: []string{"resourceName", "restartPolicy"},
},
},
}