Documentation ¶
Index ¶
- type ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithAPIVersion(value string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithFinalizers(values ...string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithGenerateName(value string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithGeneration(value int64) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithKind(value string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithLabels(entries map[string]string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithName(value string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithNamespace(value string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithResourceVersion(value string) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithSpec(value *ClusterSizingConfigurationSpecApplyConfiguration) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithStatus(value *ClusterSizingConfigurationStatusApplyConfiguration) *ClusterSizingConfigurationApplyConfiguration
- func (b *ClusterSizingConfigurationApplyConfiguration) WithUID(value types.UID) *ClusterSizingConfigurationApplyConfiguration
- type ClusterSizingConfigurationSpecApplyConfiguration
- func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithConcurrency(value *ConcurrencyConfigurationApplyConfiguration) *ClusterSizingConfigurationSpecApplyConfiguration
- func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithNonRequestServingNodesBufferPerZone(value resource.Quantity) *ClusterSizingConfigurationSpecApplyConfiguration
- func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithSizes(values ...*SizeConfigurationApplyConfiguration) *ClusterSizingConfigurationSpecApplyConfiguration
- func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithTransitionDelay(value *TransitionDelayConfigurationApplyConfiguration) *ClusterSizingConfigurationSpecApplyConfiguration
- type ClusterSizingConfigurationStatusApplyConfiguration
- type ConcurrencyConfigurationApplyConfiguration
- type EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithAPICriticalPriorityClassName(value string) *EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithControlPlanePriorityClassName(value string) *EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithEtcdPriorityClassName(value string) *EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithKASGoMemLimit(value resource.Quantity) *EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithMachineHealthCheckTimeout(value v1.Duration) *EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithMaximumMutatingRequestsInflight(value int) *EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithMaximumRequestsInflight(value int) *EffectsApplyConfiguration
- func (b *EffectsApplyConfiguration) WithResourceRequests(values ...*ResourceRequestApplyConfiguration) *EffectsApplyConfiguration
- type ManagementApplyConfiguration
- type NodeCountCriteriaApplyConfiguration
- type ResourceRequestApplyConfiguration
- func (b *ResourceRequestApplyConfiguration) WithCPU(value resource.Quantity) *ResourceRequestApplyConfiguration
- func (b *ResourceRequestApplyConfiguration) WithContainerName(value string) *ResourceRequestApplyConfiguration
- func (b *ResourceRequestApplyConfiguration) WithDeploymentName(value string) *ResourceRequestApplyConfiguration
- func (b *ResourceRequestApplyConfiguration) WithMemory(value resource.Quantity) *ResourceRequestApplyConfiguration
- type SizeConfigurationApplyConfiguration
- func (b *SizeConfigurationApplyConfiguration) WithCriteria(value *NodeCountCriteriaApplyConfiguration) *SizeConfigurationApplyConfiguration
- func (b *SizeConfigurationApplyConfiguration) WithEffects(value *EffectsApplyConfiguration) *SizeConfigurationApplyConfiguration
- func (b *SizeConfigurationApplyConfiguration) WithManagement(value *ManagementApplyConfiguration) *SizeConfigurationApplyConfiguration
- func (b *SizeConfigurationApplyConfiguration) WithName(value string) *SizeConfigurationApplyConfiguration
- type TransitionDelayConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithAPIVersion(value string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithFinalizers(values ...string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithGenerateName(value string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithGeneration(value int64) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithKind(value string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithLabels(entries map[string]string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithName(value string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithNamespace(value string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithResourceVersion(value string) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithSpec(value *ClusterSizingConfigurationSpecApplyConfiguration) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithStatus(value *ClusterSizingConfigurationStatusApplyConfiguration) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationApplyConfiguration) WithUID(value types.UID) *ClusterSizingConfigurationApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithConcurrency(value *ConcurrencyConfigurationApplyConfiguration) *ClusterSizingConfigurationSpecApplyConfiguration
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
func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithNonRequestServingNodesBufferPerZone(value resource.Quantity) *ClusterSizingConfigurationSpecApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithSizes(values ...*SizeConfigurationApplyConfiguration) *ClusterSizingConfigurationSpecApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationSpecApplyConfiguration) WithTransitionDelay(value *TransitionDelayConfigurationApplyConfiguration) *ClusterSizingConfigurationSpecApplyConfiguration
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 ¶
func (b *ClusterSizingConfigurationStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *ClusterSizingConfigurationStatusApplyConfiguration
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 ¶
func (b *ConcurrencyConfigurationApplyConfiguration) WithLimit(value int32) *ConcurrencyConfigurationApplyConfiguration
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 ¶
func (b *ConcurrencyConfigurationApplyConfiguration) WithSlidingWindow(value v1.Duration) *ConcurrencyConfigurationApplyConfiguration
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 ¶
func (b *EffectsApplyConfiguration) WithKASGoMemLimit(value resource.Quantity) *EffectsApplyConfiguration
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
func (b *EffectsApplyConfiguration) WithResourceRequests(values ...*ResourceRequestApplyConfiguration) *EffectsApplyConfiguration
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 ¶
func (b *ManagementApplyConfiguration) WithPlaceholders(value int) *ManagementApplyConfiguration
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 ¶
func (b *NodeCountCriteriaApplyConfiguration) WithFrom(value uint32) *NodeCountCriteriaApplyConfiguration
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 ¶
func (b *NodeCountCriteriaApplyConfiguration) WithTo(value uint32) *NodeCountCriteriaApplyConfiguration
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
func (b *ResourceRequestApplyConfiguration) WithCPU(value resource.Quantity) *ResourceRequestApplyConfiguration
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
func (b *ResourceRequestApplyConfiguration) WithContainerName(value string) *ResourceRequestApplyConfiguration
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
func (b *ResourceRequestApplyConfiguration) WithDeploymentName(value string) *ResourceRequestApplyConfiguration
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
func (b *ResourceRequestApplyConfiguration) WithMemory(value resource.Quantity) *ResourceRequestApplyConfiguration
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 ¶
func (b *SizeConfigurationApplyConfiguration) WithCriteria(value *NodeCountCriteriaApplyConfiguration) *SizeConfigurationApplyConfiguration
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 ¶
func (b *SizeConfigurationApplyConfiguration) WithEffects(value *EffectsApplyConfiguration) *SizeConfigurationApplyConfiguration
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 ¶
func (b *SizeConfigurationApplyConfiguration) WithManagement(value *ManagementApplyConfiguration) *SizeConfigurationApplyConfiguration
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 ¶
func (b *SizeConfigurationApplyConfiguration) WithName(value string) *SizeConfigurationApplyConfiguration
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 ¶
func (b *TransitionDelayConfigurationApplyConfiguration) WithDecrease(value v1.Duration) *TransitionDelayConfigurationApplyConfiguration
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 ¶
func (b *TransitionDelayConfigurationApplyConfiguration) WithIncrease(value v1.Duration) *TransitionDelayConfigurationApplyConfiguration
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.