Regenerate files

Kubernetes-commit: f2fd9c1c16c7ba99856d96f69c3b9bde1b811367
This commit is contained in:
Jan Safranek 2022-06-06 20:08:29 +02:00 committed by Kubernetes Publisher
parent 55b6f70f83
commit a00e9abf6c
3 changed files with 24 additions and 0 deletions

View File

@ -10843,6 +10843,9 @@ var schemaYAML = typed.YAMLObject(`types:
- name: requiresRepublish
type:
scalar: boolean
- name: seLinuxMount
type:
scalar: boolean
- name: storageCapacity
type:
scalar: boolean
@ -11195,6 +11198,9 @@ var schemaYAML = typed.YAMLObject(`types:
- name: requiresRepublish
type:
scalar: boolean
- name: seLinuxMount
type:
scalar: boolean
- name: storageCapacity
type:
scalar: boolean

View File

@ -32,6 +32,7 @@ type CSIDriverSpecApplyConfiguration struct {
FSGroupPolicy *v1.FSGroupPolicy `json:"fsGroupPolicy,omitempty"`
TokenRequests []TokenRequestApplyConfiguration `json:"tokenRequests,omitempty"`
RequiresRepublish *bool `json:"requiresRepublish,omitempty"`
SELinuxMount *bool `json:"seLinuxMount,omitempty"`
}
// CSIDriverSpecApplyConfiguration constructs an declarative configuration of the CSIDriverSpec type for use with
@ -102,3 +103,11 @@ func (b *CSIDriverSpecApplyConfiguration) WithRequiresRepublish(value bool) *CSI
b.RequiresRepublish = &value
return b
}
// WithSELinuxMount sets the SELinuxMount 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 SELinuxMount field is set to the value of the last call.
func (b *CSIDriverSpecApplyConfiguration) WithSELinuxMount(value bool) *CSIDriverSpecApplyConfiguration {
b.SELinuxMount = &value
return b
}

View File

@ -32,6 +32,7 @@ type CSIDriverSpecApplyConfiguration struct {
FSGroupPolicy *v1beta1.FSGroupPolicy `json:"fsGroupPolicy,omitempty"`
TokenRequests []TokenRequestApplyConfiguration `json:"tokenRequests,omitempty"`
RequiresRepublish *bool `json:"requiresRepublish,omitempty"`
SELinuxMount *bool `json:"seLinuxMount,omitempty"`
}
// CSIDriverSpecApplyConfiguration constructs an declarative configuration of the CSIDriverSpec type for use with
@ -102,3 +103,11 @@ func (b *CSIDriverSpecApplyConfiguration) WithRequiresRepublish(value bool) *CSI
b.RequiresRepublish = &value
return b
}
// WithSELinuxMount sets the SELinuxMount 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 SELinuxMount field is set to the value of the last call.
func (b *CSIDriverSpecApplyConfiguration) WithSELinuxMount(value bool) *CSIDriverSpecApplyConfiguration {
b.SELinuxMount = &value
return b
}