Restructure naming of resource resize restart policy - generated files
This commit is contained in:
parent
8b23497ae7
commit
c5130fb0d6
12
api/openapi-spec/swagger.json
generated
12
api/openapi-spec/swagger.json
generated
@ -4941,20 +4941,20 @@
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.ContainerResizePolicy": {
|
||||
"description": "ContainerResizePolicy represents resource resize policy for a single container.",
|
||||
"description": "ContainerResizePolicy represents resource resize policy for the container.",
|
||||
"properties": {
|
||||
"policy": {
|
||||
"description": "Resource resize policy applicable to the specified resource name. If not specified, it defaults to RestartNotRequired.",
|
||||
"resourceName": {
|
||||
"description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
|
||||
"type": "string"
|
||||
},
|
||||
"resourceName": {
|
||||
"description": "Name of the resource type to which this resource resize policy applies. Supported values: cpu, memory.",
|
||||
"restartPolicy": {
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"resourceName",
|
||||
"policy"
|
||||
"restartPolicy"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
@ -1306,22 +1306,22 @@
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.ContainerResizePolicy": {
|
||||
"description": "ContainerResizePolicy represents resource resize policy for a single container.",
|
||||
"description": "ContainerResizePolicy represents resource resize policy for the container.",
|
||||
"properties": {
|
||||
"policy": {
|
||||
"default": "",
|
||||
"description": "Resource resize policy applicable to the specified resource name. If not specified, it defaults to RestartNotRequired.",
|
||||
"type": "string"
|
||||
},
|
||||
"resourceName": {
|
||||
"default": "",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"restartPolicy": {
|
||||
"default": "",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"resourceName",
|
||||
"policy"
|
||||
"restartPolicy"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
@ -1910,22 +1910,22 @@
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.ContainerResizePolicy": {
|
||||
"description": "ContainerResizePolicy represents resource resize policy for a single container.",
|
||||
"description": "ContainerResizePolicy represents resource resize policy for the container.",
|
||||
"properties": {
|
||||
"policy": {
|
||||
"default": "",
|
||||
"description": "Resource resize policy applicable to the specified resource name. If not specified, it defaults to RestartNotRequired.",
|
||||
"type": "string"
|
||||
},
|
||||
"resourceName": {
|
||||
"default": "",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"restartPolicy": {
|
||||
"default": "",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"resourceName",
|
||||
"policy"
|
||||
"restartPolicy"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
@ -1201,22 +1201,22 @@
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.ContainerResizePolicy": {
|
||||
"description": "ContainerResizePolicy represents resource resize policy for a single container.",
|
||||
"description": "ContainerResizePolicy represents resource resize policy for the container.",
|
||||
"properties": {
|
||||
"policy": {
|
||||
"default": "",
|
||||
"description": "Resource resize policy applicable to the specified resource name. If not specified, it defaults to RestartNotRequired.",
|
||||
"type": "string"
|
||||
},
|
||||
"resourceName": {
|
||||
"default": "",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"restartPolicy": {
|
||||
"default": "",
|
||||
"description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to RestartNotRequired.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"resourceName",
|
||||
"policy"
|
||||
"restartPolicy"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
4
pkg/apis/core/v1/zz_generated.conversion.go
generated
4
pkg/apis/core/v1/zz_generated.conversion.go
generated
@ -3093,7 +3093,7 @@ func Convert_core_ContainerPort_To_v1_ContainerPort(in *core.ContainerPort, out
|
||||
|
||||
func autoConvert_v1_ContainerResizePolicy_To_core_ContainerResizePolicy(in *v1.ContainerResizePolicy, out *core.ContainerResizePolicy, s conversion.Scope) error {
|
||||
out.ResourceName = core.ResourceName(in.ResourceName)
|
||||
out.Policy = core.ResourceResizePolicy(in.Policy)
|
||||
out.RestartPolicy = core.ResourceResizeRestartPolicy(in.RestartPolicy)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3104,7 +3104,7 @@ func Convert_v1_ContainerResizePolicy_To_core_ContainerResizePolicy(in *v1.Conta
|
||||
|
||||
func autoConvert_core_ContainerResizePolicy_To_v1_ContainerResizePolicy(in *core.ContainerResizePolicy, out *v1.ContainerResizePolicy, s conversion.Scope) error {
|
||||
out.ResourceName = v1.ResourceName(in.ResourceName)
|
||||
out.Policy = v1.ResourceResizePolicy(in.Policy)
|
||||
out.RestartPolicy = v1.ResourceResizeRestartPolicy(in.RestartPolicy)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
10
pkg/generated/openapi/zz_generated.openapi.go
generated
10
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -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"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
1852
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
1852
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
File diff suppressed because it is too large
Load Diff
@ -868,15 +868,15 @@ message ContainerPort {
|
||||
optional string hostIP = 5;
|
||||
}
|
||||
|
||||
// ContainerResizePolicy represents resource resize policy for a single container.
|
||||
// ContainerResizePolicy represents resource resize policy for the container.
|
||||
message ContainerResizePolicy {
|
||||
// Name of the resource type to which this resource resize policy applies.
|
||||
// Name of the resource to which this resource resize policy applies.
|
||||
// Supported values: cpu, memory.
|
||||
optional string resourceName = 1;
|
||||
|
||||
// Resource resize policy applicable to the specified resource name.
|
||||
// Restart policy to apply when specified resource is resized.
|
||||
// If not specified, it defaults to RestartNotRequired.
|
||||
optional string policy = 2;
|
||||
optional string restartPolicy = 2;
|
||||
}
|
||||
|
||||
// ContainerState holds a possible state of container.
|
||||
|
@ -390,9 +390,9 @@ func (ContainerPort) SwaggerDoc() map[string]string {
|
||||
}
|
||||
|
||||
var map_ContainerResizePolicy = map[string]string{
|
||||
"": "ContainerResizePolicy represents resource resize policy for a single container.",
|
||||
"resourceName": "Name of the resource type to which this resource resize policy applies. Supported values: cpu, memory.",
|
||||
"policy": "Resource resize policy applicable to the specified resource name. If not specified, it defaults to RestartNotRequired.",
|
||||
"": "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.",
|
||||
}
|
||||
|
||||
func (ContainerResizePolicy) SwaggerDoc() map[string]string {
|
||||
|
@ -554,7 +554,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -837,7 +837,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1120,7 +1120,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -313,8 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -519,8 +519,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -727,8 +727,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -555,7 +555,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -838,7 +838,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1121,7 +1121,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -321,8 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -527,8 +527,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -735,8 +735,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -556,7 +556,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -839,7 +839,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1122,7 +1122,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -313,8 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -519,8 +519,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -727,8 +727,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -555,7 +555,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -838,7 +838,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1121,7 +1121,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -321,8 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -527,8 +527,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -735,8 +735,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -555,7 +555,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -838,7 +838,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1121,7 +1121,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -323,8 +323,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -529,8 +529,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -737,8 +737,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -555,7 +555,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -838,7 +838,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1121,7 +1121,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -321,8 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -527,8 +527,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -735,8 +735,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -554,7 +554,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -837,7 +837,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1120,7 +1120,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -313,8 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -519,8 +519,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -727,8 +727,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -555,7 +555,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -838,7 +838,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1121,7 +1121,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -321,8 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -527,8 +527,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -735,8 +735,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -556,7 +556,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -839,7 +839,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1122,7 +1122,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -313,8 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -519,8 +519,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -727,8 +727,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -555,7 +555,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -838,7 +838,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1121,7 +1121,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -321,8 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -527,8 +527,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -735,8 +735,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -628,7 +628,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -911,7 +911,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1194,7 +1194,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -365,8 +365,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -571,8 +571,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -779,8 +779,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -579,7 +579,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -862,7 +862,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1145,7 +1145,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
Binary file not shown.
@ -329,8 +329,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -535,8 +535,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -743,8 +743,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -628,7 +628,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -911,7 +911,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1194,7 +1194,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -365,8 +365,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -571,8 +571,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -779,8 +779,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -496,7 +496,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -779,7 +779,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1062,7 +1062,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
Binary file not shown.
@ -269,8 +269,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -475,8 +475,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -683,8 +683,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -539,7 +539,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -822,7 +822,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1105,7 +1105,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -302,8 +302,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -508,8 +508,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -716,8 +716,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -545,7 +545,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -828,7 +828,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1111,7 +1111,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -307,8 +307,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -513,8 +513,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -721,8 +721,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -554,7 +554,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -837,7 +837,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1120,7 +1120,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -313,8 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -519,8 +519,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -727,8 +727,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -555,7 +555,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -838,7 +838,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1121,7 +1121,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -323,8 +323,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -529,8 +529,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -737,8 +737,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -556,7 +556,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -839,7 +839,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
@ -1122,7 +1122,7 @@
|
||||
"resizePolicy": [
|
||||
{
|
||||
"resourceName": "resourceNameValue",
|
||||
"policy": "policyValue"
|
||||
"restartPolicy": "restartPolicyValue"
|
||||
}
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
Binary file not shown.
@ -313,8 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -519,8 +519,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
@ -727,8 +727,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resizePolicy:
|
||||
- policy: policyValue
|
||||
resourceName: resourceNameValue
|
||||
- resourceName: resourceNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
|
@ -25,8 +25,8 @@ import (
|
||||
// ContainerResizePolicyApplyConfiguration represents an declarative configuration of the ContainerResizePolicy type for use
|
||||
// with apply.
|
||||
type ContainerResizePolicyApplyConfiguration struct {
|
||||
ResourceName *v1.ResourceName `json:"resourceName,omitempty"`
|
||||
Policy *v1.ResourceResizePolicy `json:"policy,omitempty"`
|
||||
ResourceName *v1.ResourceName `json:"resourceName,omitempty"`
|
||||
RestartPolicy *v1.ResourceResizeRestartPolicy `json:"restartPolicy,omitempty"`
|
||||
}
|
||||
|
||||
// ContainerResizePolicyApplyConfiguration constructs an declarative configuration of the ContainerResizePolicy type for use with
|
||||
@ -43,10 +43,10 @@ func (b *ContainerResizePolicyApplyConfiguration) WithResourceName(value v1.Reso
|
||||
return b
|
||||
}
|
||||
|
||||
// WithPolicy sets the Policy field in the declarative configuration to the given value
|
||||
// WithRestartPolicy sets the RestartPolicy field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Policy field is set to the value of the last call.
|
||||
func (b *ContainerResizePolicyApplyConfiguration) WithPolicy(value v1.ResourceResizePolicy) *ContainerResizePolicyApplyConfiguration {
|
||||
b.Policy = &value
|
||||
// If called multiple times, the RestartPolicy field is set to the value of the last call.
|
||||
func (b *ContainerResizePolicyApplyConfiguration) WithRestartPolicy(value v1.ResourceResizeRestartPolicy) *ContainerResizePolicyApplyConfiguration {
|
||||
b.RestartPolicy = &value
|
||||
return b
|
||||
}
|
||||
|
@ -4237,11 +4237,11 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: io.k8s.api.core.v1.ContainerResizePolicy
|
||||
map:
|
||||
fields:
|
||||
- name: policy
|
||||
- name: resourceName
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: resourceName
|
||||
- name: restartPolicy
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
|
Loading…
Reference in New Issue
Block a user