From d906637aa787776052ef3e1415c32da467d27449 Mon Sep 17 00:00:00 2001 From: vinay kulkarni Date: Fri, 10 Mar 2023 03:36:01 +0000 Subject: [PATCH] Rename ContainerStatus.ResourcesAllocated to ContainerStatus.AllocatedResources - generated files Kubernetes-commit: 565fd4116df866a642e245d6ef9c2fe94448b265 --- applyconfigurations/core/v1/containerstatus.go | 10 +++++----- applyconfigurations/internal/internal.go | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/applyconfigurations/core/v1/containerstatus.go b/applyconfigurations/core/v1/containerstatus.go index 1f525481..2b98c465 100644 --- a/applyconfigurations/core/v1/containerstatus.go +++ b/applyconfigurations/core/v1/containerstatus.go @@ -34,7 +34,7 @@ type ContainerStatusApplyConfiguration struct { ImageID *string `json:"imageID,omitempty"` ContainerID *string `json:"containerID,omitempty"` Started *bool `json:"started,omitempty"` - ResourcesAllocated *corev1.ResourceList `json:"resourcesAllocated,omitempty"` + AllocatedResources *corev1.ResourceList `json:"allocatedResources,omitempty"` Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"` } @@ -116,11 +116,11 @@ func (b *ContainerStatusApplyConfiguration) WithStarted(value bool) *ContainerSt return b } -// WithResourcesAllocated sets the ResourcesAllocated field in the declarative configuration to the given value +// WithAllocatedResources sets the AllocatedResources 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 ResourcesAllocated field is set to the value of the last call. -func (b *ContainerStatusApplyConfiguration) WithResourcesAllocated(value corev1.ResourceList) *ContainerStatusApplyConfiguration { - b.ResourcesAllocated = &value +// If called multiple times, the AllocatedResources field is set to the value of the last call. +func (b *ContainerStatusApplyConfiguration) WithAllocatedResources(value corev1.ResourceList) *ContainerStatusApplyConfiguration { + b.AllocatedResources = &value return b } diff --git a/applyconfigurations/internal/internal.go b/applyconfigurations/internal/internal.go index 27e01663..cde5e823 100644 --- a/applyconfigurations/internal/internal.go +++ b/applyconfigurations/internal/internal.go @@ -4303,6 +4303,11 @@ var schemaYAML = typed.YAMLObject(`types: - name: io.k8s.api.core.v1.ContainerStatus map: fields: + - name: allocatedResources + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: containerID type: scalar: string @@ -4329,11 +4334,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: resources type: namedType: io.k8s.api.core.v1.ResourceRequirements - - name: resourcesAllocated - type: - map: - elementType: - namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: restartCount type: scalar: numeric