v1

package
v1.41.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferPolicyApplyConfiguration

type BufferPolicyApplyConfiguration struct {
	MaxReplicas *int32              `json:"maxReplicas,omitempty"`
	MinReplicas *int32              `json:"minReplicas,omitempty"`
	BufferSize  *intstr.IntOrString `json:"bufferSize,omitempty"`
}

BufferPolicyApplyConfiguration represents an declarative configuration of the BufferPolicy type for use with apply.

func BufferPolicy

func BufferPolicy() *BufferPolicyApplyConfiguration

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

func (*BufferPolicyApplyConfiguration) WithBufferSize

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

func (*BufferPolicyApplyConfiguration) WithMaxReplicas

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

func (*BufferPolicyApplyConfiguration) WithMinReplicas

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

type CounterPolicyApplyConfiguration

type CounterPolicyApplyConfiguration struct {
	Key         *string             `json:"key,omitempty"`
	MaxCapacity *int64              `json:"maxCapacity,omitempty"`
	MinCapacity *int64              `json:"minCapacity,omitempty"`
	BufferSize  *intstr.IntOrString `json:"bufferSize,omitempty"`
}

CounterPolicyApplyConfiguration represents an declarative configuration of the CounterPolicy type for use with apply.

func CounterPolicy

func CounterPolicy() *CounterPolicyApplyConfiguration

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

func (*CounterPolicyApplyConfiguration) WithBufferSize

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

func (*CounterPolicyApplyConfiguration) WithKey

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

func (*CounterPolicyApplyConfiguration) WithMaxCapacity

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

func (*CounterPolicyApplyConfiguration) WithMinCapacity

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

type FixedIntervalSyncApplyConfiguration

type FixedIntervalSyncApplyConfiguration struct {
	Seconds *int32 `json:"seconds,omitempty"`
}

FixedIntervalSyncApplyConfiguration represents an declarative configuration of the FixedIntervalSync type for use with apply.

func FixedIntervalSync

func FixedIntervalSync() *FixedIntervalSyncApplyConfiguration

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

func (*FixedIntervalSyncApplyConfiguration) WithSeconds

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

type FleetAutoscalerApplyConfiguration

type FleetAutoscalerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *FleetAutoscalerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *FleetAutoscalerStatusApplyConfiguration `json:"status,omitempty"`
}

FleetAutoscalerApplyConfiguration represents an declarative configuration of the FleetAutoscaler type for use with apply.

func FleetAutoscaler

func FleetAutoscaler(name, namespace string) *FleetAutoscalerApplyConfiguration

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

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

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

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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 (*FleetAutoscalerApplyConfiguration) 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 FleetAutoscalerPolicyApplyConfiguration

type FleetAutoscalerPolicyApplyConfiguration struct {
	Type    *v1.FleetAutoscalerPolicyType    `json:"type,omitempty"`
	Buffer  *BufferPolicyApplyConfiguration  `json:"buffer,omitempty"`
	Webhook *WebhookPolicyApplyConfiguration `json:"webhook,omitempty"`
	Counter *CounterPolicyApplyConfiguration `json:"counter,omitempty"`
	List    *ListPolicyApplyConfiguration    `json:"list,omitempty"`
}

FleetAutoscalerPolicyApplyConfiguration represents an declarative configuration of the FleetAutoscalerPolicy type for use with apply.

func FleetAutoscalerPolicy

func FleetAutoscalerPolicy() *FleetAutoscalerPolicyApplyConfiguration

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

func (*FleetAutoscalerPolicyApplyConfiguration) WithBuffer

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

func (*FleetAutoscalerPolicyApplyConfiguration) WithCounter

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

func (*FleetAutoscalerPolicyApplyConfiguration) WithList

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

func (*FleetAutoscalerPolicyApplyConfiguration) WithType

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

func (*FleetAutoscalerPolicyApplyConfiguration) WithWebhook

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

type FleetAutoscalerSpecApplyConfiguration

type FleetAutoscalerSpecApplyConfiguration struct {
	FleetName *string                                  `json:"fleetName,omitempty"`
	Policy    *FleetAutoscalerPolicyApplyConfiguration `json:"policy,omitempty"`
	Sync      *FleetAutoscalerSyncApplyConfiguration   `json:"sync,omitempty"`
}

FleetAutoscalerSpecApplyConfiguration represents an declarative configuration of the FleetAutoscalerSpec type for use with apply.

func FleetAutoscalerSpec

func FleetAutoscalerSpec() *FleetAutoscalerSpecApplyConfiguration

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

func (*FleetAutoscalerSpecApplyConfiguration) WithFleetName

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

func (*FleetAutoscalerSpecApplyConfiguration) WithPolicy

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

func (*FleetAutoscalerSpecApplyConfiguration) WithSync

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

type FleetAutoscalerStatusApplyConfiguration

type FleetAutoscalerStatusApplyConfiguration struct {
	CurrentReplicas *int32   `json:"currentReplicas,omitempty"`
	DesiredReplicas *int32   `json:"desiredReplicas,omitempty"`
	LastScaleTime   *v1.Time `json:"lastScaleTime,omitempty"`
	AbleToScale     *bool    `json:"ableToScale,omitempty"`
	ScalingLimited  *bool    `json:"scalingLimited,omitempty"`
}

FleetAutoscalerStatusApplyConfiguration represents an declarative configuration of the FleetAutoscalerStatus type for use with apply.

func FleetAutoscalerStatus

func FleetAutoscalerStatus() *FleetAutoscalerStatusApplyConfiguration

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

func (*FleetAutoscalerStatusApplyConfiguration) WithAbleToScale

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

func (*FleetAutoscalerStatusApplyConfiguration) WithCurrentReplicas

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

func (*FleetAutoscalerStatusApplyConfiguration) WithDesiredReplicas

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

func (*FleetAutoscalerStatusApplyConfiguration) WithLastScaleTime

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

func (*FleetAutoscalerStatusApplyConfiguration) WithScalingLimited

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

type FleetAutoscalerSyncApplyConfiguration

type FleetAutoscalerSyncApplyConfiguration struct {
	Type          *v1.FleetAutoscalerSyncType          `json:"type,omitempty"`
	FixedInterval *FixedIntervalSyncApplyConfiguration `json:"fixedInterval,omitempty"`
}

FleetAutoscalerSyncApplyConfiguration represents an declarative configuration of the FleetAutoscalerSync type for use with apply.

func FleetAutoscalerSync

func FleetAutoscalerSync() *FleetAutoscalerSyncApplyConfiguration

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

func (*FleetAutoscalerSyncApplyConfiguration) WithFixedInterval

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

func (*FleetAutoscalerSyncApplyConfiguration) WithType

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

type ListPolicyApplyConfiguration

type ListPolicyApplyConfiguration struct {
	Key         *string             `json:"key,omitempty"`
	MaxCapacity *int64              `json:"maxCapacity,omitempty"`
	MinCapacity *int64              `json:"minCapacity,omitempty"`
	BufferSize  *intstr.IntOrString `json:"bufferSize,omitempty"`
}

ListPolicyApplyConfiguration represents an declarative configuration of the ListPolicy type for use with apply.

func ListPolicy

func ListPolicy() *ListPolicyApplyConfiguration

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

func (*ListPolicyApplyConfiguration) WithBufferSize

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

func (*ListPolicyApplyConfiguration) WithKey

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

func (*ListPolicyApplyConfiguration) WithMaxCapacity

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

func (*ListPolicyApplyConfiguration) WithMinCapacity

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

type WebhookPolicyApplyConfiguration

type WebhookPolicyApplyConfiguration struct {
	URL      *string              `json:"url,omitempty"`
	Service  *v1.ServiceReference `json:"service,omitempty"`
	CABundle []byte               `json:"caBundle,omitempty"`
}

WebhookPolicyApplyConfiguration represents an declarative configuration of the WebhookPolicy type for use with apply.

func WebhookPolicy

func WebhookPolicy() *WebhookPolicyApplyConfiguration

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

func (*WebhookPolicyApplyConfiguration) WithCABundle

WithCABundle adds the given value to the CABundle 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 CABundle field.

func (*WebhookPolicyApplyConfiguration) WithService

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

func (*WebhookPolicyApplyConfiguration) WithURL

WithURL sets the URL 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 URL 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