mirror of
https://github.com/kubernetes/client-go.git
synced 2026-05-14 19:17:56 +00:00
hack/update-codegen.sh
Kubernetes-commit: 9f60cc3c4e8ddb373b1816a7e28b159db08f6a30
This commit is contained in:
committed by
Kubernetes Publisher
parent
828813ca69
commit
27bd9ce449
@@ -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{}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user