Documentation ¶
Index ¶
- type KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) GetName() *string
- func (b *KubeUpgradePlanApplyConfiguration) WithAPIVersion(value string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithAnnotations(entries map[string]string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithCreationTimestamp(value metav1.Time) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithFinalizers(values ...string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithGenerateName(value string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithGeneration(value int64) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithKind(value string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithLabels(entries map[string]string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithName(value string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithNamespace(value string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithResourceVersion(value string) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithSpec(value *KubeUpgradeSpecApplyConfiguration) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithStatus(value *KubeUpgradeStatusApplyConfiguration) *KubeUpgradePlanApplyConfiguration
- func (b *KubeUpgradePlanApplyConfiguration) WithUID(value types.UID) *KubeUpgradePlanApplyConfiguration
- type KubeUpgradePlanGroupApplyConfiguration
- func (b *KubeUpgradePlanGroupApplyConfiguration) WithDependsOn(values ...string) *KubeUpgradePlanGroupApplyConfiguration
- func (b *KubeUpgradePlanGroupApplyConfiguration) WithLabels(value *v1.LabelSelectorApplyConfiguration) *KubeUpgradePlanGroupApplyConfiguration
- func (b *KubeUpgradePlanGroupApplyConfiguration) WithUpgraded(value *UpgradedConfigApplyConfiguration) *KubeUpgradePlanGroupApplyConfiguration
- type KubeUpgradeSpecApplyConfiguration
- func (b *KubeUpgradeSpecApplyConfiguration) WithAllowDowngrade(value bool) *KubeUpgradeSpecApplyConfiguration
- func (b *KubeUpgradeSpecApplyConfiguration) WithGroups(entries map[string]KubeUpgradePlanGroupApplyConfiguration) *KubeUpgradeSpecApplyConfiguration
- func (b *KubeUpgradeSpecApplyConfiguration) WithKubernetesVersion(value string) *KubeUpgradeSpecApplyConfiguration
- func (b *KubeUpgradeSpecApplyConfiguration) WithUpgraded(value *UpgradedConfigApplyConfiguration) *KubeUpgradeSpecApplyConfiguration
- type KubeUpgradeStatusApplyConfiguration
- type UpgradedConfigApplyConfiguration
- func (b *UpgradedConfigApplyConfiguration) WithCheckInterval(value string) *UpgradedConfigApplyConfiguration
- func (b *UpgradedConfigApplyConfiguration) WithFleetlockGroup(value string) *UpgradedConfigApplyConfiguration
- func (b *UpgradedConfigApplyConfiguration) WithFleetlockURL(value string) *UpgradedConfigApplyConfiguration
- func (b *UpgradedConfigApplyConfiguration) WithRetryInterval(value string) *UpgradedConfigApplyConfiguration
- func (b *UpgradedConfigApplyConfiguration) WithStream(value string) *UpgradedConfigApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*KubeUpgradePlanApplyConfiguration) WithAPIVersion ¶
func (b *KubeUpgradePlanApplyConfiguration) WithAPIVersion(value string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithAnnotations(entries map[string]string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithCreationTimestamp(value metav1.Time) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithFinalizers(values ...string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithGenerateName(value string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithGeneration(value int64) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithKind(value string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithLabels(entries map[string]string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithName(value string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithNamespace(value string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithResourceVersion(value string) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithSpec(value *KubeUpgradeSpecApplyConfiguration) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithStatus(value *KubeUpgradeStatusApplyConfiguration) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanApplyConfiguration) WithUID(value types.UID) *KubeUpgradePlanApplyConfiguration
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 ¶
func (b *KubeUpgradePlanGroupApplyConfiguration) WithDependsOn(values ...string) *KubeUpgradePlanGroupApplyConfiguration
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 ¶
func (b *KubeUpgradePlanGroupApplyConfiguration) WithLabels(value *v1.LabelSelectorApplyConfiguration) *KubeUpgradePlanGroupApplyConfiguration
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 ¶
func (b *KubeUpgradePlanGroupApplyConfiguration) WithUpgraded(value *UpgradedConfigApplyConfiguration) *KubeUpgradePlanGroupApplyConfiguration
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 ¶
func (b *KubeUpgradeSpecApplyConfiguration) WithAllowDowngrade(value bool) *KubeUpgradeSpecApplyConfiguration
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 ¶
func (b *KubeUpgradeSpecApplyConfiguration) WithGroups(entries map[string]KubeUpgradePlanGroupApplyConfiguration) *KubeUpgradeSpecApplyConfiguration
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 ¶
func (b *KubeUpgradeSpecApplyConfiguration) WithKubernetesVersion(value string) *KubeUpgradeSpecApplyConfiguration
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 ¶
func (b *KubeUpgradeSpecApplyConfiguration) WithUpgraded(value *UpgradedConfigApplyConfiguration) *KubeUpgradeSpecApplyConfiguration
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 ¶
func (b *KubeUpgradeStatusApplyConfiguration) WithGroups(entries map[string]string) *KubeUpgradeStatusApplyConfiguration
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 ¶
func (b *KubeUpgradeStatusApplyConfiguration) WithSummary(value string) *KubeUpgradeStatusApplyConfiguration
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 ¶
func (b *UpgradedConfigApplyConfiguration) WithCheckInterval(value string) *UpgradedConfigApplyConfiguration
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 ¶
func (b *UpgradedConfigApplyConfiguration) WithFleetlockGroup(value string) *UpgradedConfigApplyConfiguration
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 ¶
func (b *UpgradedConfigApplyConfiguration) WithFleetlockURL(value string) *UpgradedConfigApplyConfiguration
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 ¶
func (b *UpgradedConfigApplyConfiguration) WithRetryInterval(value string) *UpgradedConfigApplyConfiguration
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 ¶
func (b *UpgradedConfigApplyConfiguration) WithStream(value string) *UpgradedConfigApplyConfiguration
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.