v1alpha2

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeUpgradePlanApplyConfiguration

type KubeUpgradePlanApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *KubeUpgradeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *KubeUpgradeStatusApplyConfiguration `json:"status,omitempty"`
}

KubeUpgradePlanApplyConfiguration represents a declarative configuration of the KubeUpgradePlan type for use with apply.

func KubeUpgradePlan

func KubeUpgradePlan(name, namespace string) *KubeUpgradePlanApplyConfiguration

KubeUpgradePlan constructs a declarative configuration of the KubeUpgradePlan type for use with apply.

func (*KubeUpgradePlanApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *KubeUpgradePlanApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeUpgradePlanApplyConfiguration

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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 (*KubeUpgradePlanApplyConfiguration) 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 KubeUpgradePlanGroupApplyConfiguration

type KubeUpgradePlanGroupApplyConfiguration struct {
	DependsOn []string                            `json:"dependsOn,omitempty"`
	Labels    *v1.LabelSelectorApplyConfiguration `json:"labels,omitempty"`
	Upgraded  *UpgradedConfigApplyConfiguration   `json:"upgraded,omitempty"`
}

KubeUpgradePlanGroupApplyConfiguration represents a declarative configuration of the KubeUpgradePlanGroup type for use with apply.

func KubeUpgradePlanGroup

func KubeUpgradePlanGroup() *KubeUpgradePlanGroupApplyConfiguration

KubeUpgradePlanGroupApplyConfiguration constructs a declarative configuration of the KubeUpgradePlanGroup type for use with apply.

func (*KubeUpgradePlanGroupApplyConfiguration) WithDependsOn

WithDependsOn adds the given value to the DependsOn 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 DependsOn field.

func (*KubeUpgradePlanGroupApplyConfiguration) WithLabels

WithLabels sets the Labels 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 Labels field is set to the value of the last call.

func (*KubeUpgradePlanGroupApplyConfiguration) WithUpgraded

WithUpgraded sets the Upgraded 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 Upgraded field is set to the value of the last call.

type KubeUpgradeSpecApplyConfiguration

type KubeUpgradeSpecApplyConfiguration struct {
	KubernetesVersion *string                                           `json:"kubernetesVersion,omitempty"`
	AllowDowngrade    *bool                                             `json:"allowDowngrade,omitempty"`
	Groups            map[string]KubeUpgradePlanGroupApplyConfiguration `json:"groups,omitempty"`
	Upgraded          *UpgradedConfigApplyConfiguration                 `json:"upgraded,omitempty"`
}

KubeUpgradeSpecApplyConfiguration represents a declarative configuration of the KubeUpgradeSpec type for use with apply.

func KubeUpgradeSpec

func KubeUpgradeSpec() *KubeUpgradeSpecApplyConfiguration

KubeUpgradeSpecApplyConfiguration constructs a declarative configuration of the KubeUpgradeSpec type for use with apply.

func (*KubeUpgradeSpecApplyConfiguration) WithAllowDowngrade

WithAllowDowngrade sets the AllowDowngrade 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 AllowDowngrade field is set to the value of the last call.

func (*KubeUpgradeSpecApplyConfiguration) WithGroups

WithGroups puts the entries into the Groups 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 Groups field, overwriting an existing map entries in Groups field with the same key.

func (*KubeUpgradeSpecApplyConfiguration) WithKubernetesVersion

WithKubernetesVersion sets the KubernetesVersion 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 KubernetesVersion field is set to the value of the last call.

func (*KubeUpgradeSpecApplyConfiguration) WithUpgraded

WithUpgraded sets the Upgraded 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 Upgraded field is set to the value of the last call.

type KubeUpgradeStatusApplyConfiguration

type KubeUpgradeStatusApplyConfiguration struct {
	Summary *string           `json:"summary,omitempty"`
	Groups  map[string]string `json:"groups,omitempty"`
}

KubeUpgradeStatusApplyConfiguration represents a declarative configuration of the KubeUpgradeStatus type for use with apply.

func KubeUpgradeStatus

func KubeUpgradeStatus() *KubeUpgradeStatusApplyConfiguration

KubeUpgradeStatusApplyConfiguration constructs a declarative configuration of the KubeUpgradeStatus type for use with apply.

func (*KubeUpgradeStatusApplyConfiguration) WithGroups

WithGroups puts the entries into the Groups 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 Groups field, overwriting an existing map entries in Groups field with the same key.

func (*KubeUpgradeStatusApplyConfiguration) WithSummary

WithSummary sets the Summary 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 Summary field is set to the value of the last call.

type UpgradedConfigApplyConfiguration

type UpgradedConfigApplyConfiguration struct {
	Stream         *string `json:"stream,omitempty"`
	FleetlockURL   *string `json:"fleetlock-url,omitempty"`
	FleetlockGroup *string `json:"fleetlock-group,omitempty"`
	CheckInterval  *string `json:"check-interval,omitempty"`
	RetryInterval  *string `json:"retry-interval,omitempty"`
}

UpgradedConfigApplyConfiguration represents a declarative configuration of the UpgradedConfig type for use with apply.

func UpgradedConfig

func UpgradedConfig() *UpgradedConfigApplyConfiguration

UpgradedConfigApplyConfiguration constructs a declarative configuration of the UpgradedConfig type for use with apply.

func (*UpgradedConfigApplyConfiguration) WithCheckInterval

WithCheckInterval sets the CheckInterval 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 CheckInterval field is set to the value of the last call.

func (*UpgradedConfigApplyConfiguration) WithFleetlockGroup

WithFleetlockGroup sets the FleetlockGroup 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 FleetlockGroup field is set to the value of the last call.

func (*UpgradedConfigApplyConfiguration) WithFleetlockURL

WithFleetlockURL sets the FleetlockURL 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 FleetlockURL field is set to the value of the last call.

func (*UpgradedConfigApplyConfiguration) WithRetryInterval

WithRetryInterval sets the RetryInterval 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 RetryInterval field is set to the value of the last call.

func (*UpgradedConfigApplyConfiguration) WithStream

WithStream sets the Stream 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 Stream 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