From 37e7f4ab7332c76ea7b3a55d0491913fdb08edfa Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Wed, 3 Mar 2021 18:09:55 +0100 Subject: [PATCH] generic ephemeral volume: generate code This is the result of "make update" minus the testdata update which will be committed separately. Kubernetes-commit: 52b758c9b634fa56ab923c31dbf9e312b1a0c171 --- applyconfigurations/core/v1/ephemeralvolumesource.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/applyconfigurations/core/v1/ephemeralvolumesource.go b/applyconfigurations/core/v1/ephemeralvolumesource.go index 90d86ed1..31859404 100644 --- a/applyconfigurations/core/v1/ephemeralvolumesource.go +++ b/applyconfigurations/core/v1/ephemeralvolumesource.go @@ -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 -}