v1alpha1

package
v0.0.0-...-b048f50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL