Generated files and compatability data from API changes

Kubernetes-commit: 85488b5f10bc6128dab69e4bdd94cec2c005c7f5
This commit is contained in:
ndixita 2024-10-16 20:34:52 +00:00 committed by Kubernetes Publisher
parent eddb107938
commit 77d9809f89
2 changed files with 12 additions and 0 deletions

View File

@ -64,6 +64,7 @@ type PodSpecApplyConfiguration struct {
HostUsers *bool `json:"hostUsers,omitempty"`
SchedulingGates []PodSchedulingGateApplyConfiguration `json:"schedulingGates,omitempty"`
ResourceClaims []PodResourceClaimApplyConfiguration `json:"resourceClaims,omitempty"`
Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
}
// PodSpecApplyConfiguration constructs a declarative configuration of the PodSpec type for use with
@ -444,3 +445,11 @@ func (b *PodSpecApplyConfiguration) WithResourceClaims(values ...*PodResourceCla
}
return b
}
// WithResources sets the Resources 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 Resources field is set to the value of the last call.
func (b *PodSpecApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *PodSpecApplyConfiguration {
b.Resources = value
return b
}

View File

@ -7167,6 +7167,9 @@ var schemaYAML = typed.YAMLObject(`types:
elementRelationship: associative
keys:
- name
- name: resources
type:
namedType: io.k8s.api.core.v1.ResourceRequirements
- name: restartPolicy
type:
scalar: string