hack/update-codegen.sh

Kubernetes-commit: 9f60cc3c4e8ddb373b1816a7e28b159db08f6a30
This commit is contained in:
Benjamin Elder
2026-03-17 16:23:57 -07:00
committed by Kubernetes Publisher
parent 828813ca69
commit 27bd9ce449
2 changed files with 5 additions and 13 deletions

View File

@@ -39,7 +39,7 @@ type VolumeMountStatusApplyConfiguration struct {
RecursiveReadOnly *corev1.RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty"`
// volumeStatus represents volume-type-specific status about the mounted
// volume.
*VolumeStatusApplyConfiguration `json:"volumeStatus,omitempty"`
VolumeStatus *VolumeStatusApplyConfiguration `json:"volumeStatus,omitempty"`
}
// VolumeMountStatusApplyConfiguration constructs a declarative configuration of the VolumeMountStatus type for use with
@@ -80,17 +80,10 @@ func (b *VolumeMountStatusApplyConfiguration) WithRecursiveReadOnly(value corev1
return b
}
// WithImage sets the Image field in the declarative configuration to the given value
// WithVolumeStatus sets the VolumeStatus 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 Image field is set to the value of the last call.
func (b *VolumeMountStatusApplyConfiguration) WithImage(value *ImageVolumeStatusApplyConfiguration) *VolumeMountStatusApplyConfiguration {
b.ensureVolumeStatusApplyConfigurationExists()
b.VolumeStatusApplyConfiguration.Image = value
// If called multiple times, the VolumeStatus field is set to the value of the last call.
func (b *VolumeMountStatusApplyConfiguration) WithVolumeStatus(value *VolumeStatusApplyConfiguration) *VolumeMountStatusApplyConfiguration {
b.VolumeStatus = value
return b
}
func (b *VolumeMountStatusApplyConfiguration) ensureVolumeStatusApplyConfigurationExists() {
if b.VolumeStatusApplyConfiguration == nil {
b.VolumeStatusApplyConfiguration = &VolumeStatusApplyConfiguration{}
}
}

View File

@@ -8423,7 +8423,6 @@ var schemaYAML = typed.YAMLObject(`types:
- name: volumeStatus
type:
namedType: io.k8s.api.core.v1.VolumeStatus
default: {}
- name: io.k8s.api.core.v1.VolumeNodeAffinity
map:
fields: