mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-03 18:26:59 +00:00
Rename ContainerStatus.ResourcesAllocated to ContainerStatus.AllocatedResources - generated files
Kubernetes-commit: 565fd4116df866a642e245d6ef9c2fe94448b265
This commit is contained in:
parent
6df09021f9
commit
d906637aa7
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user