Documentation ¶
Index ¶
- type ActionsApplyConfiguration
- type AfterCompletionApplyConfiguration
- func (b *AfterCompletionApplyConfiguration) WithAddClusterAnnotations(entries map[string]string) *AfterCompletionApplyConfiguration
- func (b *AfterCompletionApplyConfiguration) WithAddClusterLabels(entries map[string]string) *AfterCompletionApplyConfiguration
- func (b *AfterCompletionApplyConfiguration) WithDeleteClusterLabels(entries map[string]string) *AfterCompletionApplyConfiguration
- func (b *AfterCompletionApplyConfiguration) WithDeleteObjects(value bool) *AfterCompletionApplyConfiguration
- func (b *AfterCompletionApplyConfiguration) WithRemoveClusterAnnotations(values ...string) *AfterCompletionApplyConfiguration
- func (b *AfterCompletionApplyConfiguration) WithRemoveClusterLabels(values ...string) *AfterCompletionApplyConfiguration
- type BackupStatusApplyConfiguration
- func (b *BackupStatusApplyConfiguration) WithClusters(values ...string) *BackupStatusApplyConfiguration
- func (b *BackupStatusApplyConfiguration) WithStartedAt(value v1.Time) *BackupStatusApplyConfiguration
- func (b *BackupStatusApplyConfiguration) WithStatus(entries map[string]string) *BackupStatusApplyConfiguration
- type BeforeEnableApplyConfiguration
- func (b *BeforeEnableApplyConfiguration) WithAddClusterAnnotations(entries map[string]string) *BeforeEnableApplyConfiguration
- func (b *BeforeEnableApplyConfiguration) WithAddClusterLabels(entries map[string]string) *BeforeEnableApplyConfiguration
- func (b *BeforeEnableApplyConfiguration) WithDeleteClusterLabels(entries map[string]string) *BeforeEnableApplyConfiguration
- func (b *BeforeEnableApplyConfiguration) WithRemoveClusterAnnotations(values ...string) *BeforeEnableApplyConfiguration
- func (b *BeforeEnableApplyConfiguration) WithRemoveClusterLabels(values ...string) *BeforeEnableApplyConfiguration
- type BlockingCRApplyConfiguration
- type ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithAPIVersion(value string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithFinalizers(values ...string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithGenerateName(value string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithGeneration(value int64) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithKind(value string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithLabels(entries map[string]string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithName(value string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithNamespace(value string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithResourceVersion(value string) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithSpec(value *ClusterGroupUpgradeSpecApplyConfiguration) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithStatus(value *ClusterGroupUpgradeStatusApplyConfiguration) *ClusterGroupUpgradeApplyConfiguration
- func (b *ClusterGroupUpgradeApplyConfiguration) WithUID(value types.UID) *ClusterGroupUpgradeApplyConfiguration
- type ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithActions(value *ActionsApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithBackup(value bool) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithBatchTimeoutAction(value string) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithBlockingCRs(values ...*BlockingCRApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithClusterLabelSelectors(values ...v1.LabelSelector) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithClusterSelector(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithClusters(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithEnable(value bool) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithManagedPolicies(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithManifestWorkTemplates(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithPreCaching(value bool) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithPreCachingConfigRef(value *PreCachingConfigCRApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
- func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithRemediationStrategy(value *RemediationStrategySpecApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
- type ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithBackup(value *BackupStatusApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithClusters(values ...*ClusterStateApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithComputedMaxConcurrency(value int) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithConditions(values ...v1.Condition) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithCopiedPolicies(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesCompliantBeforeUpgrade(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesContent(entries map[string]string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesForUpgrade(values ...*ManagedPolicyForUpgradeApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesNs(entries map[string]string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithPlacementBindings(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithPlacementRules(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithPrecaching(value *PrecachingStatusApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithRemediationPlan(values ...[]string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithSafeResourceNames(entries map[string]string) *ClusterGroupUpgradeStatusApplyConfiguration
- func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithStatus(value *UpgradeStatusApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
- type ClusterRemediationProgressApplyConfiguration
- func (b *ClusterRemediationProgressApplyConfiguration) WithFirstCompliantAt(value v1.Time) *ClusterRemediationProgressApplyConfiguration
- func (b *ClusterRemediationProgressApplyConfiguration) WithManifestWorkIndex(value int) *ClusterRemediationProgressApplyConfiguration
- func (b *ClusterRemediationProgressApplyConfiguration) WithPolicyIndex(value int) *ClusterRemediationProgressApplyConfiguration
- func (b *ClusterRemediationProgressApplyConfiguration) WithState(value string) *ClusterRemediationProgressApplyConfiguration
- type ClusterStateApplyConfiguration
- func (b *ClusterStateApplyConfiguration) WithCurrentManifestWork(value *ManifestWorkStatusApplyConfiguration) *ClusterStateApplyConfiguration
- func (b *ClusterStateApplyConfiguration) WithCurrentPolicy(value *PolicyStatusApplyConfiguration) *ClusterStateApplyConfiguration
- func (b *ClusterStateApplyConfiguration) WithName(value string) *ClusterStateApplyConfiguration
- func (b *ClusterStateApplyConfiguration) WithState(value string) *ClusterStateApplyConfiguration
- type ManagedPolicyForUpgradeApplyConfiguration
- type ManifestWorkStatusApplyConfiguration
- type PolicyStatusApplyConfiguration
- type PreCachingConfigCRApplyConfiguration
- type PrecachingSpecApplyConfiguration
- func (b *PrecachingSpecApplyConfiguration) WithAdditionalImages(values ...string) *PrecachingSpecApplyConfiguration
- func (b *PrecachingSpecApplyConfiguration) WithExcludePrecachePatterns(values ...string) *PrecachingSpecApplyConfiguration
- func (b *PrecachingSpecApplyConfiguration) WithOperatorsIndexes(values ...string) *PrecachingSpecApplyConfiguration
- func (b *PrecachingSpecApplyConfiguration) WithOperatorsPackagesAndChannels(values ...string) *PrecachingSpecApplyConfiguration
- func (b *PrecachingSpecApplyConfiguration) WithPlatformImage(value string) *PrecachingSpecApplyConfiguration
- func (b *PrecachingSpecApplyConfiguration) WithSpaceRequired(value string) *PrecachingSpecApplyConfiguration
- type PrecachingStatusApplyConfiguration
- func (b *PrecachingStatusApplyConfiguration) WithClusters(values ...string) *PrecachingStatusApplyConfiguration
- func (b *PrecachingStatusApplyConfiguration) WithSpec(value *PrecachingSpecApplyConfiguration) *PrecachingStatusApplyConfiguration
- func (b *PrecachingStatusApplyConfiguration) WithStatus(entries map[string]string) *PrecachingStatusApplyConfiguration
- type RemediationStrategySpecApplyConfiguration
- func (b *RemediationStrategySpecApplyConfiguration) WithCanaries(values ...string) *RemediationStrategySpecApplyConfiguration
- func (b *RemediationStrategySpecApplyConfiguration) WithMaxConcurrency(value int) *RemediationStrategySpecApplyConfiguration
- func (b *RemediationStrategySpecApplyConfiguration) WithTimeout(value int) *RemediationStrategySpecApplyConfiguration
- type UpgradeStatusApplyConfiguration
- func (b *UpgradeStatusApplyConfiguration) WithCompletedAt(value v1.Time) *UpgradeStatusApplyConfiguration
- func (b *UpgradeStatusApplyConfiguration) WithCurrentBatch(value int) *UpgradeStatusApplyConfiguration
- func (b *UpgradeStatusApplyConfiguration) WithCurrentBatchRemediationProgress(entries map[string]*v1alpha1.ClusterRemediationProgress) *UpgradeStatusApplyConfiguration
- func (b *UpgradeStatusApplyConfiguration) WithCurrentBatchStartedAt(value v1.Time) *UpgradeStatusApplyConfiguration
- func (b *UpgradeStatusApplyConfiguration) WithStartedAt(value v1.Time) *UpgradeStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionsApplyConfiguration ¶
type ActionsApplyConfiguration struct { BeforeEnable *BeforeEnableApplyConfiguration `json:"beforeEnable,omitempty"` AfterCompletion *AfterCompletionApplyConfiguration `json:"afterCompletion,omitempty"` }
ActionsApplyConfiguration represents an declarative configuration of the Actions type for use with apply.
func Actions ¶
func Actions() *ActionsApplyConfiguration
ActionsApplyConfiguration constructs an declarative configuration of the Actions type for use with apply.
func (*ActionsApplyConfiguration) WithAfterCompletion ¶
func (b *ActionsApplyConfiguration) WithAfterCompletion(value *AfterCompletionApplyConfiguration) *ActionsApplyConfiguration
WithAfterCompletion sets the AfterCompletion 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 AfterCompletion field is set to the value of the last call.
func (*ActionsApplyConfiguration) WithBeforeEnable ¶
func (b *ActionsApplyConfiguration) WithBeforeEnable(value *BeforeEnableApplyConfiguration) *ActionsApplyConfiguration
WithBeforeEnable sets the BeforeEnable 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 BeforeEnable field is set to the value of the last call.
type AfterCompletionApplyConfiguration ¶
type AfterCompletionApplyConfiguration struct { AddClusterLabels map[string]string `json:"addClusterLabels,omitempty"` DeleteClusterLabels map[string]string `json:"deleteClusterLabels,omitempty"` RemoveClusterLabels []string `json:"removeClusterLabels,omitempty"` AddClusterAnnotations map[string]string `json:"addClusterAnnotations,omitempty"` RemoveClusterAnnotations []string `json:"removeClusterAnnotations,omitempty"` DeleteObjects *bool `json:"deleteObjects,omitempty"` }
AfterCompletionApplyConfiguration represents an declarative configuration of the AfterCompletion type for use with apply.
func AfterCompletion ¶
func AfterCompletion() *AfterCompletionApplyConfiguration
AfterCompletionApplyConfiguration constructs an declarative configuration of the AfterCompletion type for use with apply.
func (*AfterCompletionApplyConfiguration) WithAddClusterAnnotations ¶
func (b *AfterCompletionApplyConfiguration) WithAddClusterAnnotations(entries map[string]string) *AfterCompletionApplyConfiguration
WithAddClusterAnnotations puts the entries into the AddClusterAnnotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the AddClusterAnnotations field, overwriting an existing map entries in AddClusterAnnotations field with the same key.
func (*AfterCompletionApplyConfiguration) WithAddClusterLabels ¶
func (b *AfterCompletionApplyConfiguration) WithAddClusterLabels(entries map[string]string) *AfterCompletionApplyConfiguration
WithAddClusterLabels puts the entries into the AddClusterLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the AddClusterLabels field, overwriting an existing map entries in AddClusterLabels field with the same key.
func (*AfterCompletionApplyConfiguration) WithDeleteClusterLabels ¶
func (b *AfterCompletionApplyConfiguration) WithDeleteClusterLabels(entries map[string]string) *AfterCompletionApplyConfiguration
WithDeleteClusterLabels puts the entries into the DeleteClusterLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the DeleteClusterLabels field, overwriting an existing map entries in DeleteClusterLabels field with the same key.
func (*AfterCompletionApplyConfiguration) WithDeleteObjects ¶
func (b *AfterCompletionApplyConfiguration) WithDeleteObjects(value bool) *AfterCompletionApplyConfiguration
WithDeleteObjects sets the DeleteObjects 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 DeleteObjects field is set to the value of the last call.
func (*AfterCompletionApplyConfiguration) WithRemoveClusterAnnotations ¶
func (b *AfterCompletionApplyConfiguration) WithRemoveClusterAnnotations(values ...string) *AfterCompletionApplyConfiguration
WithRemoveClusterAnnotations adds the given value to the RemoveClusterAnnotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RemoveClusterAnnotations field.
func (*AfterCompletionApplyConfiguration) WithRemoveClusterLabels ¶
func (b *AfterCompletionApplyConfiguration) WithRemoveClusterLabels(values ...string) *AfterCompletionApplyConfiguration
WithRemoveClusterLabels adds the given value to the RemoveClusterLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RemoveClusterLabels field.
type BackupStatusApplyConfiguration ¶
type BackupStatusApplyConfiguration struct { StartedAt *v1.Time `json:"startedAt,omitempty"` Status map[string]string `json:"status,omitempty"` Clusters []string `json:"clusters,omitempty"` }
BackupStatusApplyConfiguration represents an declarative configuration of the BackupStatus type for use with apply.
func BackupStatus ¶
func BackupStatus() *BackupStatusApplyConfiguration
BackupStatusApplyConfiguration constructs an declarative configuration of the BackupStatus type for use with apply.
func (*BackupStatusApplyConfiguration) WithClusters ¶
func (b *BackupStatusApplyConfiguration) WithClusters(values ...string) *BackupStatusApplyConfiguration
WithClusters adds the given value to the Clusters field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Clusters field.
func (*BackupStatusApplyConfiguration) WithStartedAt ¶
func (b *BackupStatusApplyConfiguration) WithStartedAt(value v1.Time) *BackupStatusApplyConfiguration
WithStartedAt sets the StartedAt 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 StartedAt field is set to the value of the last call.
func (*BackupStatusApplyConfiguration) WithStatus ¶
func (b *BackupStatusApplyConfiguration) WithStatus(entries map[string]string) *BackupStatusApplyConfiguration
WithStatus puts the entries into the Status field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Status field, overwriting an existing map entries in Status field with the same key.
type BeforeEnableApplyConfiguration ¶
type BeforeEnableApplyConfiguration struct { AddClusterLabels map[string]string `json:"addClusterLabels,omitempty"` DeleteClusterLabels map[string]string `json:"deleteClusterLabels,omitempty"` RemoveClusterLabels []string `json:"removeClusterLabels,omitempty"` AddClusterAnnotations map[string]string `json:"addClusterAnnotations,omitempty"` RemoveClusterAnnotations []string `json:"removeClusterAnnotations,omitempty"` }
BeforeEnableApplyConfiguration represents an declarative configuration of the BeforeEnable type for use with apply.
func BeforeEnable ¶
func BeforeEnable() *BeforeEnableApplyConfiguration
BeforeEnableApplyConfiguration constructs an declarative configuration of the BeforeEnable type for use with apply.
func (*BeforeEnableApplyConfiguration) WithAddClusterAnnotations ¶
func (b *BeforeEnableApplyConfiguration) WithAddClusterAnnotations(entries map[string]string) *BeforeEnableApplyConfiguration
WithAddClusterAnnotations puts the entries into the AddClusterAnnotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the AddClusterAnnotations field, overwriting an existing map entries in AddClusterAnnotations field with the same key.
func (*BeforeEnableApplyConfiguration) WithAddClusterLabels ¶
func (b *BeforeEnableApplyConfiguration) WithAddClusterLabels(entries map[string]string) *BeforeEnableApplyConfiguration
WithAddClusterLabels puts the entries into the AddClusterLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the AddClusterLabels field, overwriting an existing map entries in AddClusterLabels field with the same key.
func (*BeforeEnableApplyConfiguration) WithDeleteClusterLabels ¶
func (b *BeforeEnableApplyConfiguration) WithDeleteClusterLabels(entries map[string]string) *BeforeEnableApplyConfiguration
WithDeleteClusterLabels puts the entries into the DeleteClusterLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the DeleteClusterLabels field, overwriting an existing map entries in DeleteClusterLabels field with the same key.
func (*BeforeEnableApplyConfiguration) WithRemoveClusterAnnotations ¶
func (b *BeforeEnableApplyConfiguration) WithRemoveClusterAnnotations(values ...string) *BeforeEnableApplyConfiguration
WithRemoveClusterAnnotations adds the given value to the RemoveClusterAnnotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RemoveClusterAnnotations field.
func (*BeforeEnableApplyConfiguration) WithRemoveClusterLabels ¶
func (b *BeforeEnableApplyConfiguration) WithRemoveClusterLabels(values ...string) *BeforeEnableApplyConfiguration
WithRemoveClusterLabels adds the given value to the RemoveClusterLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RemoveClusterLabels field.
type BlockingCRApplyConfiguration ¶
type BlockingCRApplyConfiguration struct { Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` }
BlockingCRApplyConfiguration represents an declarative configuration of the BlockingCR type for use with apply.
func BlockingCR ¶
func BlockingCR() *BlockingCRApplyConfiguration
BlockingCRApplyConfiguration constructs an declarative configuration of the BlockingCR type for use with apply.
func (*BlockingCRApplyConfiguration) WithName ¶
func (b *BlockingCRApplyConfiguration) WithName(value string) *BlockingCRApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*BlockingCRApplyConfiguration) WithNamespace ¶
func (b *BlockingCRApplyConfiguration) WithNamespace(value string) *BlockingCRApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
type ClusterGroupUpgradeApplyConfiguration ¶
type ClusterGroupUpgradeApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ClusterGroupUpgradeSpecApplyConfiguration `json:"spec,omitempty"` Status *ClusterGroupUpgradeStatusApplyConfiguration `json:"status,omitempty"` }
ClusterGroupUpgradeApplyConfiguration represents an declarative configuration of the ClusterGroupUpgrade type for use with apply.
func ClusterGroupUpgrade ¶
func ClusterGroupUpgrade(name, namespace string) *ClusterGroupUpgradeApplyConfiguration
ClusterGroupUpgrade constructs an declarative configuration of the ClusterGroupUpgrade type for use with apply.
func (*ClusterGroupUpgradeApplyConfiguration) WithAPIVersion ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithAPIVersion(value string) *ClusterGroupUpgradeApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithAnnotations ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterGroupUpgradeApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ClusterGroupUpgradeApplyConfiguration) WithCreationTimestamp ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterGroupUpgradeApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterGroupUpgradeApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithDeletionTimestamp ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterGroupUpgradeApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithFinalizers ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithFinalizers(values ...string) *ClusterGroupUpgradeApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ClusterGroupUpgradeApplyConfiguration) WithGenerateName ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithGenerateName(value string) *ClusterGroupUpgradeApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithGeneration ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithGeneration(value int64) *ClusterGroupUpgradeApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithKind ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithKind(value string) *ClusterGroupUpgradeApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithLabels ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithLabels(entries map[string]string) *ClusterGroupUpgradeApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ClusterGroupUpgradeApplyConfiguration) WithName ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithName(value string) *ClusterGroupUpgradeApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithNamespace ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithNamespace(value string) *ClusterGroupUpgradeApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithOwnerReferences ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterGroupUpgradeApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ClusterGroupUpgradeApplyConfiguration) WithResourceVersion ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithResourceVersion(value string) *ClusterGroupUpgradeApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithSpec ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithSpec(value *ClusterGroupUpgradeSpecApplyConfiguration) *ClusterGroupUpgradeApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithStatus ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithStatus(value *ClusterGroupUpgradeStatusApplyConfiguration) *ClusterGroupUpgradeApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*ClusterGroupUpgradeApplyConfiguration) WithUID ¶
func (b *ClusterGroupUpgradeApplyConfiguration) WithUID(value types.UID) *ClusterGroupUpgradeApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type ClusterGroupUpgradeSpecApplyConfiguration ¶
type ClusterGroupUpgradeSpecApplyConfiguration struct { Backup *bool `json:"backup,omitempty"` PreCaching *bool `json:"preCaching,omitempty"` PreCachingConfigRef *PreCachingConfigCRApplyConfiguration `json:"preCachingConfigRef,omitempty"` Enable *bool `json:"enable,omitempty"` Clusters []string `json:"clusters,omitempty"` ClusterSelector []string `json:"clusterSelector,omitempty"` ClusterLabelSelectors []v1.LabelSelector `json:"clusterLabelSelectors,omitempty"` RemediationStrategy *RemediationStrategySpecApplyConfiguration `json:"remediationStrategy,omitempty"` ManagedPolicies []string `json:"managedPolicies,omitempty"` ManifestWorkTemplates []string `json:"manifestWorkTemplates,omitempty"` BlockingCRs []BlockingCRApplyConfiguration `json:"blockingCRs,omitempty"` Actions *ActionsApplyConfiguration `json:"actions,omitempty"` BatchTimeoutAction *string `json:"batchTimeoutAction,omitempty"` }
ClusterGroupUpgradeSpecApplyConfiguration represents an declarative configuration of the ClusterGroupUpgradeSpec type for use with apply.
func ClusterGroupUpgradeSpec ¶
func ClusterGroupUpgradeSpec() *ClusterGroupUpgradeSpecApplyConfiguration
ClusterGroupUpgradeSpecApplyConfiguration constructs an declarative configuration of the ClusterGroupUpgradeSpec type for use with apply.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithActions ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithActions(value *ActionsApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
WithActions sets the Actions 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 Actions field is set to the value of the last call.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithBackup ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithBackup(value bool) *ClusterGroupUpgradeSpecApplyConfiguration
WithBackup sets the Backup 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 Backup field is set to the value of the last call.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithBatchTimeoutAction ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithBatchTimeoutAction(value string) *ClusterGroupUpgradeSpecApplyConfiguration
WithBatchTimeoutAction sets the BatchTimeoutAction 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 BatchTimeoutAction field is set to the value of the last call.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithBlockingCRs ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithBlockingCRs(values ...*BlockingCRApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
WithBlockingCRs adds the given value to the BlockingCRs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the BlockingCRs field.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithClusterLabelSelectors ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithClusterLabelSelectors(values ...v1.LabelSelector) *ClusterGroupUpgradeSpecApplyConfiguration
WithClusterLabelSelectors adds the given value to the ClusterLabelSelectors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ClusterLabelSelectors field.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithClusterSelector ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithClusterSelector(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
WithClusterSelector adds the given value to the ClusterSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ClusterSelector field.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithClusters ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithClusters(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
WithClusters adds the given value to the Clusters field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Clusters field.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithEnable ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithEnable(value bool) *ClusterGroupUpgradeSpecApplyConfiguration
WithEnable sets the Enable 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 Enable field is set to the value of the last call.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithManagedPolicies ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithManagedPolicies(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
WithManagedPolicies adds the given value to the ManagedPolicies field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ManagedPolicies field.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithManifestWorkTemplates ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithManifestWorkTemplates(values ...string) *ClusterGroupUpgradeSpecApplyConfiguration
WithManifestWorkTemplates adds the given value to the ManifestWorkTemplates field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ManifestWorkTemplates field.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithPreCaching ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithPreCaching(value bool) *ClusterGroupUpgradeSpecApplyConfiguration
WithPreCaching sets the PreCaching 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 PreCaching field is set to the value of the last call.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithPreCachingConfigRef ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithPreCachingConfigRef(value *PreCachingConfigCRApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
WithPreCachingConfigRef sets the PreCachingConfigRef 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 PreCachingConfigRef field is set to the value of the last call.
func (*ClusterGroupUpgradeSpecApplyConfiguration) WithRemediationStrategy ¶
func (b *ClusterGroupUpgradeSpecApplyConfiguration) WithRemediationStrategy(value *RemediationStrategySpecApplyConfiguration) *ClusterGroupUpgradeSpecApplyConfiguration
WithRemediationStrategy sets the RemediationStrategy 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 RemediationStrategy field is set to the value of the last call.
type ClusterGroupUpgradeStatusApplyConfiguration ¶
type ClusterGroupUpgradeStatusApplyConfiguration struct { PlacementBindings []string `json:"placementBindings,omitempty"` PlacementRules []string `json:"placementRules,omitempty"` CopiedPolicies []string `json:"copiedPolicies,omitempty"` Conditions []v1.Condition `json:"conditions,omitempty"` RemediationPlan [][]string `json:"remediationPlan,omitempty"` ManagedPoliciesNs map[string]string `json:"managedPoliciesNs,omitempty"` SafeResourceNames map[string]string `json:"safeResourceNames,omitempty"` ManagedPoliciesForUpgrade []ManagedPolicyForUpgradeApplyConfiguration `json:"managedPoliciesForUpgrade,omitempty"` ManagedPoliciesCompliantBeforeUpgrade []string `json:"managedPoliciesCompliantBeforeUpgrade,omitempty"` ManagedPoliciesContent map[string]string `json:"managedPoliciesContent,omitempty"` Clusters []ClusterStateApplyConfiguration `json:"clusters,omitempty"` Status *UpgradeStatusApplyConfiguration `json:"status,omitempty"` Precaching *PrecachingStatusApplyConfiguration `json:"precaching,omitempty"` Backup *BackupStatusApplyConfiguration `json:"backup,omitempty"` ComputedMaxConcurrency *int `json:"computedMaxConcurrency,omitempty"` }
ClusterGroupUpgradeStatusApplyConfiguration represents an declarative configuration of the ClusterGroupUpgradeStatus type for use with apply.
func ClusterGroupUpgradeStatus ¶
func ClusterGroupUpgradeStatus() *ClusterGroupUpgradeStatusApplyConfiguration
ClusterGroupUpgradeStatusApplyConfiguration constructs an declarative configuration of the ClusterGroupUpgradeStatus type for use with apply.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithBackup ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithBackup(value *BackupStatusApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
WithBackup sets the Backup 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 Backup field is set to the value of the last call.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithClusters ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithClusters(values ...*ClusterStateApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
WithClusters adds the given value to the Clusters field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Clusters field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithComputedMaxConcurrency ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithComputedMaxConcurrency(value int) *ClusterGroupUpgradeStatusApplyConfiguration
WithComputedMaxConcurrency sets the ComputedMaxConcurrency 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 ComputedMaxConcurrency field is set to the value of the last call.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithConditions ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithConditions(values ...v1.Condition) *ClusterGroupUpgradeStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithCopiedPolicies ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithCopiedPolicies(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
WithCopiedPolicies adds the given value to the CopiedPolicies field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CopiedPolicies field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesCompliantBeforeUpgrade ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesCompliantBeforeUpgrade(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
WithManagedPoliciesCompliantBeforeUpgrade adds the given value to the ManagedPoliciesCompliantBeforeUpgrade field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ManagedPoliciesCompliantBeforeUpgrade field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesContent ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesContent(entries map[string]string) *ClusterGroupUpgradeStatusApplyConfiguration
WithManagedPoliciesContent puts the entries into the ManagedPoliciesContent field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the ManagedPoliciesContent field, overwriting an existing map entries in ManagedPoliciesContent field with the same key.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesForUpgrade ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesForUpgrade(values ...*ManagedPolicyForUpgradeApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
WithManagedPoliciesForUpgrade adds the given value to the ManagedPoliciesForUpgrade field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ManagedPoliciesForUpgrade field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesNs ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithManagedPoliciesNs(entries map[string]string) *ClusterGroupUpgradeStatusApplyConfiguration
WithManagedPoliciesNs puts the entries into the ManagedPoliciesNs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the ManagedPoliciesNs field, overwriting an existing map entries in ManagedPoliciesNs field with the same key.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithPlacementBindings ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithPlacementBindings(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
WithPlacementBindings adds the given value to the PlacementBindings field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PlacementBindings field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithPlacementRules ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithPlacementRules(values ...string) *ClusterGroupUpgradeStatusApplyConfiguration
WithPlacementRules adds the given value to the PlacementRules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PlacementRules field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithPrecaching ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithPrecaching(value *PrecachingStatusApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
WithPrecaching sets the Precaching 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 Precaching field is set to the value of the last call.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithRemediationPlan ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithRemediationPlan(values ...[]string) *ClusterGroupUpgradeStatusApplyConfiguration
WithRemediationPlan adds the given value to the RemediationPlan field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RemediationPlan field.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithSafeResourceNames ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithSafeResourceNames(entries map[string]string) *ClusterGroupUpgradeStatusApplyConfiguration
WithSafeResourceNames puts the entries into the SafeResourceNames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the SafeResourceNames field, overwriting an existing map entries in SafeResourceNames field with the same key.
func (*ClusterGroupUpgradeStatusApplyConfiguration) WithStatus ¶
func (b *ClusterGroupUpgradeStatusApplyConfiguration) WithStatus(value *UpgradeStatusApplyConfiguration) *ClusterGroupUpgradeStatusApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
type ClusterRemediationProgressApplyConfiguration ¶
type ClusterRemediationProgressApplyConfiguration struct { State *string `json:"state,omitempty"` ManifestWorkIndex *int `json:"manifestWorkIndex,omitempty"` PolicyIndex *int `json:"policyIndex,omitempty"` FirstCompliantAt *v1.Time `json:"firstComplaintAt,omitempty"` }
ClusterRemediationProgressApplyConfiguration represents an declarative configuration of the ClusterRemediationProgress type for use with apply.
func ClusterRemediationProgress ¶
func ClusterRemediationProgress() *ClusterRemediationProgressApplyConfiguration
ClusterRemediationProgressApplyConfiguration constructs an declarative configuration of the ClusterRemediationProgress type for use with apply.
func (*ClusterRemediationProgressApplyConfiguration) WithFirstCompliantAt ¶
func (b *ClusterRemediationProgressApplyConfiguration) WithFirstCompliantAt(value v1.Time) *ClusterRemediationProgressApplyConfiguration
WithFirstCompliantAt sets the FirstCompliantAt 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 FirstCompliantAt field is set to the value of the last call.
func (*ClusterRemediationProgressApplyConfiguration) WithManifestWorkIndex ¶
func (b *ClusterRemediationProgressApplyConfiguration) WithManifestWorkIndex(value int) *ClusterRemediationProgressApplyConfiguration
WithManifestWorkIndex sets the ManifestWorkIndex 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 ManifestWorkIndex field is set to the value of the last call.
func (*ClusterRemediationProgressApplyConfiguration) WithPolicyIndex ¶
func (b *ClusterRemediationProgressApplyConfiguration) WithPolicyIndex(value int) *ClusterRemediationProgressApplyConfiguration
WithPolicyIndex sets the PolicyIndex 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 PolicyIndex field is set to the value of the last call.
func (*ClusterRemediationProgressApplyConfiguration) WithState ¶
func (b *ClusterRemediationProgressApplyConfiguration) WithState(value string) *ClusterRemediationProgressApplyConfiguration
WithState sets the State 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 State field is set to the value of the last call.
type ClusterStateApplyConfiguration ¶
type ClusterStateApplyConfiguration struct { Name *string `json:"name,omitempty"` State *string `json:"state,omitempty"` CurrentPolicy *PolicyStatusApplyConfiguration `json:"currentPolicy,omitempty"` CurrentManifestWork *ManifestWorkStatusApplyConfiguration `json:"currentManifestWork,omitempty"` }
ClusterStateApplyConfiguration represents an declarative configuration of the ClusterState type for use with apply.
func ClusterState ¶
func ClusterState() *ClusterStateApplyConfiguration
ClusterStateApplyConfiguration constructs an declarative configuration of the ClusterState type for use with apply.
func (*ClusterStateApplyConfiguration) WithCurrentManifestWork ¶
func (b *ClusterStateApplyConfiguration) WithCurrentManifestWork(value *ManifestWorkStatusApplyConfiguration) *ClusterStateApplyConfiguration
WithCurrentManifestWork sets the CurrentManifestWork 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 CurrentManifestWork field is set to the value of the last call.
func (*ClusterStateApplyConfiguration) WithCurrentPolicy ¶
func (b *ClusterStateApplyConfiguration) WithCurrentPolicy(value *PolicyStatusApplyConfiguration) *ClusterStateApplyConfiguration
WithCurrentPolicy sets the CurrentPolicy 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 CurrentPolicy field is set to the value of the last call.
func (*ClusterStateApplyConfiguration) WithName ¶
func (b *ClusterStateApplyConfiguration) WithName(value string) *ClusterStateApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ClusterStateApplyConfiguration) WithState ¶
func (b *ClusterStateApplyConfiguration) WithState(value string) *ClusterStateApplyConfiguration
WithState sets the State 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 State field is set to the value of the last call.
type ManagedPolicyForUpgradeApplyConfiguration ¶
type ManagedPolicyForUpgradeApplyConfiguration struct { Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` }
ManagedPolicyForUpgradeApplyConfiguration represents an declarative configuration of the ManagedPolicyForUpgrade type for use with apply.
func ManagedPolicyForUpgrade ¶
func ManagedPolicyForUpgrade() *ManagedPolicyForUpgradeApplyConfiguration
ManagedPolicyForUpgradeApplyConfiguration constructs an declarative configuration of the ManagedPolicyForUpgrade type for use with apply.
func (*ManagedPolicyForUpgradeApplyConfiguration) WithName ¶
func (b *ManagedPolicyForUpgradeApplyConfiguration) WithName(value string) *ManagedPolicyForUpgradeApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ManagedPolicyForUpgradeApplyConfiguration) WithNamespace ¶
func (b *ManagedPolicyForUpgradeApplyConfiguration) WithNamespace(value string) *ManagedPolicyForUpgradeApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
type ManifestWorkStatusApplyConfiguration ¶
type ManifestWorkStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` Status *v1.ManifestResourceStatus `json:"status,omitempty"` }
ManifestWorkStatusApplyConfiguration represents an declarative configuration of the ManifestWorkStatus type for use with apply.
func ManifestWorkStatus ¶
func ManifestWorkStatus() *ManifestWorkStatusApplyConfiguration
ManifestWorkStatusApplyConfiguration constructs an declarative configuration of the ManifestWorkStatus type for use with apply.
func (*ManifestWorkStatusApplyConfiguration) WithName ¶
func (b *ManifestWorkStatusApplyConfiguration) WithName(value string) *ManifestWorkStatusApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ManifestWorkStatusApplyConfiguration) WithStatus ¶
func (b *ManifestWorkStatusApplyConfiguration) WithStatus(value v1.ManifestResourceStatus) *ManifestWorkStatusApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
type PolicyStatusApplyConfiguration ¶
type PolicyStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` }
PolicyStatusApplyConfiguration represents an declarative configuration of the PolicyStatus type for use with apply.
func PolicyStatus ¶
func PolicyStatus() *PolicyStatusApplyConfiguration
PolicyStatusApplyConfiguration constructs an declarative configuration of the PolicyStatus type for use with apply.
func (*PolicyStatusApplyConfiguration) WithName ¶
func (b *PolicyStatusApplyConfiguration) WithName(value string) *PolicyStatusApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*PolicyStatusApplyConfiguration) WithStatus ¶
func (b *PolicyStatusApplyConfiguration) WithStatus(value string) *PolicyStatusApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
type PreCachingConfigCRApplyConfiguration ¶
type PreCachingConfigCRApplyConfiguration struct { Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` }
PreCachingConfigCRApplyConfiguration represents an declarative configuration of the PreCachingConfigCR type for use with apply.
func PreCachingConfigCR ¶
func PreCachingConfigCR() *PreCachingConfigCRApplyConfiguration
PreCachingConfigCRApplyConfiguration constructs an declarative configuration of the PreCachingConfigCR type for use with apply.
func (*PreCachingConfigCRApplyConfiguration) WithName ¶
func (b *PreCachingConfigCRApplyConfiguration) WithName(value string) *PreCachingConfigCRApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*PreCachingConfigCRApplyConfiguration) WithNamespace ¶
func (b *PreCachingConfigCRApplyConfiguration) WithNamespace(value string) *PreCachingConfigCRApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
type PrecachingSpecApplyConfiguration ¶
type PrecachingSpecApplyConfiguration struct { PlatformImage *string `json:"platformImage,omitempty"` OperatorsIndexes []string `json:"operatorsIndexes,omitempty"` OperatorsPackagesAndChannels []string `json:"operatorsPackagesAndChannels,omitempty"` ExcludePrecachePatterns []string `json:"excludePrecachePatterns,omitempty"` SpaceRequired *string `json:"spaceRequired,omitempty"` AdditionalImages []string `json:"additionalImages,omitempty"` }
PrecachingSpecApplyConfiguration represents an declarative configuration of the PrecachingSpec type for use with apply.
func PrecachingSpec ¶
func PrecachingSpec() *PrecachingSpecApplyConfiguration
PrecachingSpecApplyConfiguration constructs an declarative configuration of the PrecachingSpec type for use with apply.
func (*PrecachingSpecApplyConfiguration) WithAdditionalImages ¶
func (b *PrecachingSpecApplyConfiguration) WithAdditionalImages(values ...string) *PrecachingSpecApplyConfiguration
WithAdditionalImages adds the given value to the AdditionalImages field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AdditionalImages field.
func (*PrecachingSpecApplyConfiguration) WithExcludePrecachePatterns ¶
func (b *PrecachingSpecApplyConfiguration) WithExcludePrecachePatterns(values ...string) *PrecachingSpecApplyConfiguration
WithExcludePrecachePatterns adds the given value to the ExcludePrecachePatterns field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ExcludePrecachePatterns field.
func (*PrecachingSpecApplyConfiguration) WithOperatorsIndexes ¶
func (b *PrecachingSpecApplyConfiguration) WithOperatorsIndexes(values ...string) *PrecachingSpecApplyConfiguration
WithOperatorsIndexes adds the given value to the OperatorsIndexes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OperatorsIndexes field.
func (*PrecachingSpecApplyConfiguration) WithOperatorsPackagesAndChannels ¶
func (b *PrecachingSpecApplyConfiguration) WithOperatorsPackagesAndChannels(values ...string) *PrecachingSpecApplyConfiguration
WithOperatorsPackagesAndChannels adds the given value to the OperatorsPackagesAndChannels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OperatorsPackagesAndChannels field.
func (*PrecachingSpecApplyConfiguration) WithPlatformImage ¶
func (b *PrecachingSpecApplyConfiguration) WithPlatformImage(value string) *PrecachingSpecApplyConfiguration
WithPlatformImage sets the PlatformImage 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 PlatformImage field is set to the value of the last call.
func (*PrecachingSpecApplyConfiguration) WithSpaceRequired ¶
func (b *PrecachingSpecApplyConfiguration) WithSpaceRequired(value string) *PrecachingSpecApplyConfiguration
WithSpaceRequired sets the SpaceRequired 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 SpaceRequired field is set to the value of the last call.
type PrecachingStatusApplyConfiguration ¶
type PrecachingStatusApplyConfiguration struct { Spec *PrecachingSpecApplyConfiguration `json:"spec,omitempty"` Status map[string]string `json:"status,omitempty"` Clusters []string `json:"clusters,omitempty"` }
PrecachingStatusApplyConfiguration represents an declarative configuration of the PrecachingStatus type for use with apply.
func PrecachingStatus ¶
func PrecachingStatus() *PrecachingStatusApplyConfiguration
PrecachingStatusApplyConfiguration constructs an declarative configuration of the PrecachingStatus type for use with apply.
func (*PrecachingStatusApplyConfiguration) WithClusters ¶
func (b *PrecachingStatusApplyConfiguration) WithClusters(values ...string) *PrecachingStatusApplyConfiguration
WithClusters adds the given value to the Clusters field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Clusters field.
func (*PrecachingStatusApplyConfiguration) WithSpec ¶
func (b *PrecachingStatusApplyConfiguration) WithSpec(value *PrecachingSpecApplyConfiguration) *PrecachingStatusApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*PrecachingStatusApplyConfiguration) WithStatus ¶
func (b *PrecachingStatusApplyConfiguration) WithStatus(entries map[string]string) *PrecachingStatusApplyConfiguration
WithStatus puts the entries into the Status field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Status field, overwriting an existing map entries in Status field with the same key.
type RemediationStrategySpecApplyConfiguration ¶
type RemediationStrategySpecApplyConfiguration struct { Canaries []string `json:"canaries,omitempty"` MaxConcurrency *int `json:"maxConcurrency,omitempty"` Timeout *int `json:"timeout,omitempty"` }
RemediationStrategySpecApplyConfiguration represents an declarative configuration of the RemediationStrategySpec type for use with apply.
func RemediationStrategySpec ¶
func RemediationStrategySpec() *RemediationStrategySpecApplyConfiguration
RemediationStrategySpecApplyConfiguration constructs an declarative configuration of the RemediationStrategySpec type for use with apply.
func (*RemediationStrategySpecApplyConfiguration) WithCanaries ¶
func (b *RemediationStrategySpecApplyConfiguration) WithCanaries(values ...string) *RemediationStrategySpecApplyConfiguration
WithCanaries adds the given value to the Canaries field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Canaries field.
func (*RemediationStrategySpecApplyConfiguration) WithMaxConcurrency ¶
func (b *RemediationStrategySpecApplyConfiguration) WithMaxConcurrency(value int) *RemediationStrategySpecApplyConfiguration
WithMaxConcurrency sets the MaxConcurrency 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 MaxConcurrency field is set to the value of the last call.
func (*RemediationStrategySpecApplyConfiguration) WithTimeout ¶
func (b *RemediationStrategySpecApplyConfiguration) WithTimeout(value int) *RemediationStrategySpecApplyConfiguration
WithTimeout sets the Timeout 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 Timeout field is set to the value of the last call.
type UpgradeStatusApplyConfiguration ¶
type UpgradeStatusApplyConfiguration struct { StartedAt *v1.Time `json:"startedAt,omitempty"` CompletedAt *v1.Time `json:"completedAt,omitempty"` CurrentBatch *int `json:"currentBatch,omitempty"` CurrentBatchStartedAt *v1.Time `json:"currentBatchStartedAt,omitempty"` CurrentBatchRemediationProgress map[string]*v1alpha1.ClusterRemediationProgress `json:"currentBatchRemediationProgress,omitempty"` }
UpgradeStatusApplyConfiguration represents an declarative configuration of the UpgradeStatus type for use with apply.
func UpgradeStatus ¶
func UpgradeStatus() *UpgradeStatusApplyConfiguration
UpgradeStatusApplyConfiguration constructs an declarative configuration of the UpgradeStatus type for use with apply.
func (*UpgradeStatusApplyConfiguration) WithCompletedAt ¶
func (b *UpgradeStatusApplyConfiguration) WithCompletedAt(value v1.Time) *UpgradeStatusApplyConfiguration
WithCompletedAt sets the CompletedAt 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 CompletedAt field is set to the value of the last call.
func (*UpgradeStatusApplyConfiguration) WithCurrentBatch ¶
func (b *UpgradeStatusApplyConfiguration) WithCurrentBatch(value int) *UpgradeStatusApplyConfiguration
WithCurrentBatch sets the CurrentBatch 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 CurrentBatch field is set to the value of the last call.
func (*UpgradeStatusApplyConfiguration) WithCurrentBatchRemediationProgress ¶
func (b *UpgradeStatusApplyConfiguration) WithCurrentBatchRemediationProgress(entries map[string]*v1alpha1.ClusterRemediationProgress) *UpgradeStatusApplyConfiguration
WithCurrentBatchRemediationProgress puts the entries into the CurrentBatchRemediationProgress field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the CurrentBatchRemediationProgress field, overwriting an existing map entries in CurrentBatchRemediationProgress field with the same key.
func (*UpgradeStatusApplyConfiguration) WithCurrentBatchStartedAt ¶
func (b *UpgradeStatusApplyConfiguration) WithCurrentBatchStartedAt(value v1.Time) *UpgradeStatusApplyConfiguration
WithCurrentBatchStartedAt sets the CurrentBatchStartedAt 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 CurrentBatchStartedAt field is set to the value of the last call.
func (*UpgradeStatusApplyConfiguration) WithStartedAt ¶
func (b *UpgradeStatusApplyConfiguration) WithStartedAt(value v1.Time) *UpgradeStatusApplyConfiguration
WithStartedAt sets the StartedAt 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 StartedAt field is set to the value of the last call.
Source Files ¶
- actions.go
- aftercompletion.go
- backupstatus.go
- beforeenable.go
- blockingcr.go
- clustergroupupgrade.go
- clustergroupupgradespec.go
- clustergroupupgradestatus.go
- clusterremediationprogress.go
- clusterstate.go
- managedpolicyforupgrade.go
- manifestworkstatus.go
- policystatus.go
- precachingconfigcr.go
- precachingspec.go
- precachingstatus.go
- remediationstrategyspec.go
- upgradestatus.go