mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-04 10:46:16 +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"`
|
ImageID *string `json:"imageID,omitempty"`
|
||||||
ContainerID *string `json:"containerID,omitempty"`
|
ContainerID *string `json:"containerID,omitempty"`
|
||||||
Started *bool `json:"started,omitempty"`
|
Started *bool `json:"started,omitempty"`
|
||||||
ResourcesAllocated *corev1.ResourceList `json:"resourcesAllocated,omitempty"`
|
AllocatedResources *corev1.ResourceList `json:"allocatedResources,omitempty"`
|
||||||
Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
|
Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -116,11 +116,11 @@ func (b *ContainerStatusApplyConfiguration) WithStarted(value bool) *ContainerSt
|
|||||||
return b
|
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.
|
// 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.
|
// If called multiple times, the AllocatedResources field is set to the value of the last call.
|
||||||
func (b *ContainerStatusApplyConfiguration) WithResourcesAllocated(value corev1.ResourceList) *ContainerStatusApplyConfiguration {
|
func (b *ContainerStatusApplyConfiguration) WithAllocatedResources(value corev1.ResourceList) *ContainerStatusApplyConfiguration {
|
||||||
b.ResourcesAllocated = &value
|
b.AllocatedResources = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4303,6 +4303,11 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.core.v1.ContainerStatus
|
- name: io.k8s.api.core.v1.ContainerStatus
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: allocatedResources
|
||||||
|
type:
|
||||||
|
map:
|
||||||
|
elementType:
|
||||||
|
namedType: io.k8s.apimachinery.pkg.api.resource.Quantity
|
||||||
- name: containerID
|
- name: containerID
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
@ -4329,11 +4334,6 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: resources
|
- name: resources
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.core.v1.ResourceRequirements
|
namedType: io.k8s.api.core.v1.ResourceRequirements
|
||||||
- name: resourcesAllocated
|
|
||||||
type:
|
|
||||||
map:
|
|
||||||
elementType:
|
|
||||||
namedType: io.k8s.apimachinery.pkg.api.resource.Quantity
|
|
||||||
- name: restartCount
|
- name: restartCount
|
||||||
type:
|
type:
|
||||||
scalar: numeric
|
scalar: numeric
|
||||||
|
Loading…
Reference in New Issue
Block a user