api: run codegen

run 'make update' to code gen for changes in meta/v1 DeleteOptions

Kubernetes-commit: aff05b0bcad2b62730e101067a04ffc75a96a41b
This commit is contained in:
Abu Kashem 2024-09-23 13:29:15 -04:00 committed by Kubernetes Publisher
parent fe3db7fea6
commit 95fc3d7e88
2 changed files with 18 additions and 6 deletions

View File

@ -13966,6 +13966,9 @@ var schemaYAML = typed.YAMLObject(`types:
- name: gracePeriodSeconds - name: gracePeriodSeconds
type: type:
scalar: numeric scalar: numeric
- name: ignoreStoreReadErrorWithClusterBreakingPotential
type:
scalar: boolean
- name: kind - name: kind
type: type:
scalar: string scalar: string

View File

@ -25,12 +25,13 @@ import (
// DeleteOptionsApplyConfiguration represents a declarative configuration of the DeleteOptions type for use // DeleteOptionsApplyConfiguration represents a declarative configuration of the DeleteOptions type for use
// with apply. // with apply.
type DeleteOptionsApplyConfiguration struct { type DeleteOptionsApplyConfiguration struct {
TypeMetaApplyConfiguration `json:",inline"` TypeMetaApplyConfiguration `json:",inline"`
GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"` GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"`
Preconditions *PreconditionsApplyConfiguration `json:"preconditions,omitempty"` Preconditions *PreconditionsApplyConfiguration `json:"preconditions,omitempty"`
OrphanDependents *bool `json:"orphanDependents,omitempty"` OrphanDependents *bool `json:"orphanDependents,omitempty"`
PropagationPolicy *metav1.DeletionPropagation `json:"propagationPolicy,omitempty"` PropagationPolicy *metav1.DeletionPropagation `json:"propagationPolicy,omitempty"`
DryRun []string `json:"dryRun,omitempty"` DryRun []string `json:"dryRun,omitempty"`
IgnoreStoreReadErrorWithClusterBreakingPotential *bool `json:"ignoreStoreReadErrorWithClusterBreakingPotential,omitempty"`
} }
// DeleteOptionsApplyConfiguration constructs a declarative configuration of the DeleteOptions type for use with // DeleteOptionsApplyConfiguration constructs a declarative configuration of the DeleteOptions type for use with
@ -99,3 +100,11 @@ func (b *DeleteOptionsApplyConfiguration) WithDryRun(values ...string) *DeleteOp
} }
return b return b
} }
// WithIgnoreStoreReadErrorWithClusterBreakingPotential sets the IgnoreStoreReadErrorWithClusterBreakingPotential 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 IgnoreStoreReadErrorWithClusterBreakingPotential field is set to the value of the last call.
func (b *DeleteOptionsApplyConfiguration) WithIgnoreStoreReadErrorWithClusterBreakingPotential(value bool) *DeleteOptionsApplyConfiguration {
b.IgnoreStoreReadErrorWithClusterBreakingPotential = &value
return b
}