mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-13 13:06:03 +00:00
api: run codegen
run 'make update' to code gen for changes in meta/v1 DeleteOptions Kubernetes-commit: aff05b0bcad2b62730e101067a04ffc75a96a41b
This commit is contained in:
parent
fe3db7fea6
commit
95fc3d7e88
@ -13966,6 +13966,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: gracePeriodSeconds
|
||||
type:
|
||||
scalar: numeric
|
||||
- name: ignoreStoreReadErrorWithClusterBreakingPotential
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: kind
|
||||
type:
|
||||
scalar: string
|
||||
|
@ -25,12 +25,13 @@ import (
|
||||
// DeleteOptionsApplyConfiguration represents a declarative configuration of the DeleteOptions type for use
|
||||
// with apply.
|
||||
type DeleteOptionsApplyConfiguration struct {
|
||||
TypeMetaApplyConfiguration `json:",inline"`
|
||||
GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"`
|
||||
Preconditions *PreconditionsApplyConfiguration `json:"preconditions,omitempty"`
|
||||
OrphanDependents *bool `json:"orphanDependents,omitempty"`
|
||||
PropagationPolicy *metav1.DeletionPropagation `json:"propagationPolicy,omitempty"`
|
||||
DryRun []string `json:"dryRun,omitempty"`
|
||||
TypeMetaApplyConfiguration `json:",inline"`
|
||||
GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"`
|
||||
Preconditions *PreconditionsApplyConfiguration `json:"preconditions,omitempty"`
|
||||
OrphanDependents *bool `json:"orphanDependents,omitempty"`
|
||||
PropagationPolicy *metav1.DeletionPropagation `json:"propagationPolicy,omitempty"`
|
||||
DryRun []string `json:"dryRun,omitempty"`
|
||||
IgnoreStoreReadErrorWithClusterBreakingPotential *bool `json:"ignoreStoreReadErrorWithClusterBreakingPotential,omitempty"`
|
||||
}
|
||||
|
||||
// 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
|
||||
}
|
||||
|
||||
// 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user