generic ephemeral volume: generate code

This is the result of "make update" minus the testdata update which
will be committed separately.

Kubernetes-commit: 52b758c9b634fa56ab923c31dbf9e312b1a0c171
This commit is contained in:
Patrick Ohly 2021-03-03 18:09:55 +01:00 committed by Kubernetes Publisher
parent 6085ad09f2
commit 37e7f4ab73

View File

@ -22,7 +22,6 @@ package v1
// with apply.
type EphemeralVolumeSourceApplyConfiguration struct {
VolumeClaimTemplate *PersistentVolumeClaimTemplateApplyConfiguration `json:"volumeClaimTemplate,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
}
// EphemeralVolumeSourceApplyConfiguration constructs an declarative configuration of the EphemeralVolumeSource type for use with
@ -38,11 +37,3 @@ func (b *EphemeralVolumeSourceApplyConfiguration) WithVolumeClaimTemplate(value
b.VolumeClaimTemplate = value
return b
}
// WithReadOnly sets the ReadOnly 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 ReadOnly field is set to the value of the last call.
func (b *EphemeralVolumeSourceApplyConfiguration) WithReadOnly(value bool) *EphemeralVolumeSourceApplyConfiguration {
b.ReadOnly = &value
return b
}