v1alpha1

package
v0.1.51 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterSizingConfigurationApplyConfiguration

type ClusterSizingConfigurationApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ClusterSizingConfigurationSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ClusterSizingConfigurationStatusApplyConfiguration `json:"status,omitempty"`
}

ClusterSizingConfigurationApplyConfiguration represents an declarative configuration of the ClusterSizingConfiguration type for use with apply.

func ClusterSizingConfiguration

func ClusterSizingConfiguration(name string) *ClusterSizingConfigurationApplyConfiguration

ClusterSizingConfiguration constructs an declarative configuration of the ClusterSizingConfiguration type for use with apply.

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

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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 (*ClusterSizingConfigurationApplyConfiguration) 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 ClusterSizingConfigurationSpecApplyConfiguration

type ClusterSizingConfigurationSpecApplyConfiguration struct {
	Sizes                               []SizeConfigurationApplyConfiguration           `json:"sizes,omitempty"`
	Concurrency                         *ConcurrencyConfigurationApplyConfiguration     `json:"concurrency,omitempty"`
	TransitionDelay                     *TransitionDelayConfigurationApplyConfiguration `json:"transitionDelay,omitempty"`
	NonRequestServingNodesBufferPerZone *resource.Quantity                              `json:"nonRequestServingNodesBufferPerZone,omitempty"`
}

ClusterSizingConfigurationSpecApplyConfiguration represents an declarative configuration of the ClusterSizingConfigurationSpec type for use with apply.

func ClusterSizingConfigurationSpec

func ClusterSizingConfigurationSpec() *ClusterSizingConfigurationSpecApplyConfiguration

ClusterSizingConfigurationSpecApplyConfiguration constructs an declarative configuration of the ClusterSizingConfigurationSpec type for use with apply.

func (*ClusterSizingConfigurationSpecApplyConfiguration) WithConcurrency

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

func (*ClusterSizingConfigurationSpecApplyConfiguration) WithNonRequestServingNodesBufferPerZone added in v0.1.29

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

func (*ClusterSizingConfigurationSpecApplyConfiguration) WithSizes

WithSizes adds the given value to the Sizes 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 Sizes field.

func (*ClusterSizingConfigurationSpecApplyConfiguration) WithTransitionDelay

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

type ClusterSizingConfigurationStatusApplyConfiguration

type ClusterSizingConfigurationStatusApplyConfiguration struct {
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
}

ClusterSizingConfigurationStatusApplyConfiguration represents an declarative configuration of the ClusterSizingConfigurationStatus type for use with apply.

func ClusterSizingConfigurationStatus

func ClusterSizingConfigurationStatus() *ClusterSizingConfigurationStatusApplyConfiguration

ClusterSizingConfigurationStatusApplyConfiguration constructs an declarative configuration of the ClusterSizingConfigurationStatus type for use with apply.

func (*ClusterSizingConfigurationStatusApplyConfiguration) 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.

type ConcurrencyConfigurationApplyConfiguration

type ConcurrencyConfigurationApplyConfiguration struct {
	SlidingWindow *v1.Duration `json:"slidingWindow,omitempty"`
	Limit         *int32       `json:"limit,omitempty"`
}

ConcurrencyConfigurationApplyConfiguration represents an declarative configuration of the ConcurrencyConfiguration type for use with apply.

func ConcurrencyConfiguration

func ConcurrencyConfiguration() *ConcurrencyConfigurationApplyConfiguration

ConcurrencyConfigurationApplyConfiguration constructs an declarative configuration of the ConcurrencyConfiguration type for use with apply.

func (*ConcurrencyConfigurationApplyConfiguration) WithLimit

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

func (*ConcurrencyConfigurationApplyConfiguration) WithSlidingWindow

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

type EffectsApplyConfiguration

type EffectsApplyConfiguration struct {
	KASGoMemLimit                   *resource.Quantity                  `json:"kasGoMemLimit,omitempty"`
	ControlPlanePriorityClassName   *string                             `json:"controlPlanePriorityClassName,omitempty"`
	EtcdPriorityClassName           *string                             `json:"etcdPriorityClassName,omitempty"`
	APICriticalPriorityClassName    *string                             `json:"APICriticalPriorityClassName,omitempty"`
	ResourceRequests                []ResourceRequestApplyConfiguration `json:"resourceRequests,omitempty"`
	MachineHealthCheckTimeout       *v1.Duration                        `json:"machineHealthCheckTimeout,omitempty"`
	MaximumRequestsInflight         *int                                `json:"maximumRequestsInflight,omitempty"`
	MaximumMutatingRequestsInflight *int                                `json:"maximumMutatingRequestsInflight,omitempty"`
}

EffectsApplyConfiguration represents an declarative configuration of the Effects type for use with apply.

func Effects

func Effects() *EffectsApplyConfiguration

EffectsApplyConfiguration constructs an declarative configuration of the Effects type for use with apply.

func (*EffectsApplyConfiguration) WithAPICriticalPriorityClassName

func (b *EffectsApplyConfiguration) WithAPICriticalPriorityClassName(value string) *EffectsApplyConfiguration

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

func (*EffectsApplyConfiguration) WithControlPlanePriorityClassName

func (b *EffectsApplyConfiguration) WithControlPlanePriorityClassName(value string) *EffectsApplyConfiguration

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

func (*EffectsApplyConfiguration) WithEtcdPriorityClassName

func (b *EffectsApplyConfiguration) WithEtcdPriorityClassName(value string) *EffectsApplyConfiguration

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

func (*EffectsApplyConfiguration) WithKASGoMemLimit

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

func (*EffectsApplyConfiguration) WithMachineHealthCheckTimeout added in v0.1.33

func (b *EffectsApplyConfiguration) WithMachineHealthCheckTimeout(value v1.Duration) *EffectsApplyConfiguration

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

func (*EffectsApplyConfiguration) WithMaximumMutatingRequestsInflight added in v0.1.47

func (b *EffectsApplyConfiguration) WithMaximumMutatingRequestsInflight(value int) *EffectsApplyConfiguration

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

func (*EffectsApplyConfiguration) WithMaximumRequestsInflight added in v0.1.47

func (b *EffectsApplyConfiguration) WithMaximumRequestsInflight(value int) *EffectsApplyConfiguration

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

func (*EffectsApplyConfiguration) WithResourceRequests added in v0.1.26

WithResourceRequests adds the given value to the ResourceRequests 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 ResourceRequests field.

type ManagementApplyConfiguration

type ManagementApplyConfiguration struct {
	Placeholders                  *int               `json:"placeholders,omitempty"`
	NonRequestServingNodesPerZone *resource.Quantity `json:"nonRequestServingNodesPerZone,omitempty"`
}

ManagementApplyConfiguration represents an declarative configuration of the Management type for use with apply.

func Management

func Management() *ManagementApplyConfiguration

ManagementApplyConfiguration constructs an declarative configuration of the Management type for use with apply.

func (*ManagementApplyConfiguration) WithNonRequestServingNodesPerZone added in v0.1.29

func (b *ManagementApplyConfiguration) WithNonRequestServingNodesPerZone(value resource.Quantity) *ManagementApplyConfiguration

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

func (*ManagementApplyConfiguration) WithPlaceholders

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

type NodeCountCriteriaApplyConfiguration

type NodeCountCriteriaApplyConfiguration struct {
	From *uint32 `json:"from,omitempty"`
	To   *uint32 `json:"to,omitempty"`
}

NodeCountCriteriaApplyConfiguration represents an declarative configuration of the NodeCountCriteria type for use with apply.

func NodeCountCriteria

func NodeCountCriteria() *NodeCountCriteriaApplyConfiguration

NodeCountCriteriaApplyConfiguration constructs an declarative configuration of the NodeCountCriteria type for use with apply.

func (*NodeCountCriteriaApplyConfiguration) WithFrom

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

func (*NodeCountCriteriaApplyConfiguration) WithTo

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

type ResourceRequestApplyConfiguration added in v0.1.26

type ResourceRequestApplyConfiguration struct {
	DeploymentName *string            `json:"deploymentName,omitempty"`
	ContainerName  *string            `json:"containerName,omitempty"`
	Memory         *resource.Quantity `json:"memory,omitempty"`
	CPU            *resource.Quantity `json:"cpu,omitempty"`
}

ResourceRequestApplyConfiguration represents an declarative configuration of the ResourceRequest type for use with apply.

func ResourceRequest added in v0.1.26

func ResourceRequest() *ResourceRequestApplyConfiguration

ResourceRequestApplyConfiguration constructs an declarative configuration of the ResourceRequest type for use with apply.

func (*ResourceRequestApplyConfiguration) WithCPU added in v0.1.26

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

func (*ResourceRequestApplyConfiguration) WithContainerName added in v0.1.26

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

func (*ResourceRequestApplyConfiguration) WithDeploymentName added in v0.1.26

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

func (*ResourceRequestApplyConfiguration) WithMemory added in v0.1.26

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

type SizeConfigurationApplyConfiguration

type SizeConfigurationApplyConfiguration struct {
	Name       *string                              `json:"name,omitempty"`
	Criteria   *NodeCountCriteriaApplyConfiguration `json:"criteria,omitempty"`
	Effects    *EffectsApplyConfiguration           `json:"effects,omitempty"`
	Management *ManagementApplyConfiguration        `json:"management,omitempty"`
}

SizeConfigurationApplyConfiguration represents an declarative configuration of the SizeConfiguration type for use with apply.

func SizeConfiguration

func SizeConfiguration() *SizeConfigurationApplyConfiguration

SizeConfigurationApplyConfiguration constructs an declarative configuration of the SizeConfiguration type for use with apply.

func (*SizeConfigurationApplyConfiguration) WithCriteria

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

func (*SizeConfigurationApplyConfiguration) WithEffects

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

func (*SizeConfigurationApplyConfiguration) WithManagement

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

func (*SizeConfigurationApplyConfiguration) 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.

type TransitionDelayConfigurationApplyConfiguration

type TransitionDelayConfigurationApplyConfiguration struct {
	Increase *v1.Duration `json:"increase,omitempty"`
	Decrease *v1.Duration `json:"decrease,omitempty"`
}

TransitionDelayConfigurationApplyConfiguration represents an declarative configuration of the TransitionDelayConfiguration type for use with apply.

func TransitionDelayConfiguration

func TransitionDelayConfiguration() *TransitionDelayConfigurationApplyConfiguration

TransitionDelayConfigurationApplyConfiguration constructs an declarative configuration of the TransitionDelayConfiguration type for use with apply.

func (*TransitionDelayConfigurationApplyConfiguration) WithDecrease

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

func (*TransitionDelayConfigurationApplyConfiguration) WithIncrease

WithIncrease sets the Increase 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 Increase 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