mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-28 16:07:29 +00:00
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:
parent
6085ad09f2
commit
37e7f4ab73
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user