Documentation ¶
Index ¶
- type BufferPolicyApplyConfiguration
- func (b *BufferPolicyApplyConfiguration) WithBufferSize(value intstr.IntOrString) *BufferPolicyApplyConfiguration
- func (b *BufferPolicyApplyConfiguration) WithMaxReplicas(value int32) *BufferPolicyApplyConfiguration
- func (b *BufferPolicyApplyConfiguration) WithMinReplicas(value int32) *BufferPolicyApplyConfiguration
- type CounterPolicyApplyConfiguration
- func (b *CounterPolicyApplyConfiguration) WithBufferSize(value intstr.IntOrString) *CounterPolicyApplyConfiguration
- func (b *CounterPolicyApplyConfiguration) WithKey(value string) *CounterPolicyApplyConfiguration
- func (b *CounterPolicyApplyConfiguration) WithMaxCapacity(value int64) *CounterPolicyApplyConfiguration
- func (b *CounterPolicyApplyConfiguration) WithMinCapacity(value int64) *CounterPolicyApplyConfiguration
- type FixedIntervalSyncApplyConfiguration
- type FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithAPIVersion(value string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithAnnotations(entries map[string]string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithFinalizers(values ...string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithGenerateName(value string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithGeneration(value int64) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithKind(value string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithLabels(entries map[string]string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithName(value string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithNamespace(value string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithResourceVersion(value string) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithSpec(value *FleetAutoscalerSpecApplyConfiguration) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithStatus(value *FleetAutoscalerStatusApplyConfiguration) *FleetAutoscalerApplyConfiguration
- func (b *FleetAutoscalerApplyConfiguration) WithUID(value types.UID) *FleetAutoscalerApplyConfiguration
- type FleetAutoscalerPolicyApplyConfiguration
- func (b *FleetAutoscalerPolicyApplyConfiguration) WithBuffer(value *BufferPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
- func (b *FleetAutoscalerPolicyApplyConfiguration) WithCounter(value *CounterPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
- func (b *FleetAutoscalerPolicyApplyConfiguration) WithList(value *ListPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
- func (b *FleetAutoscalerPolicyApplyConfiguration) WithType(value v1.FleetAutoscalerPolicyType) *FleetAutoscalerPolicyApplyConfiguration
- func (b *FleetAutoscalerPolicyApplyConfiguration) WithWebhook(value *WebhookPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
- type FleetAutoscalerSpecApplyConfiguration
- func (b *FleetAutoscalerSpecApplyConfiguration) WithFleetName(value string) *FleetAutoscalerSpecApplyConfiguration
- func (b *FleetAutoscalerSpecApplyConfiguration) WithPolicy(value *FleetAutoscalerPolicyApplyConfiguration) *FleetAutoscalerSpecApplyConfiguration
- func (b *FleetAutoscalerSpecApplyConfiguration) WithSync(value *FleetAutoscalerSyncApplyConfiguration) *FleetAutoscalerSpecApplyConfiguration
- type FleetAutoscalerStatusApplyConfiguration
- func (b *FleetAutoscalerStatusApplyConfiguration) WithAbleToScale(value bool) *FleetAutoscalerStatusApplyConfiguration
- func (b *FleetAutoscalerStatusApplyConfiguration) WithCurrentReplicas(value int32) *FleetAutoscalerStatusApplyConfiguration
- func (b *FleetAutoscalerStatusApplyConfiguration) WithDesiredReplicas(value int32) *FleetAutoscalerStatusApplyConfiguration
- func (b *FleetAutoscalerStatusApplyConfiguration) WithLastScaleTime(value v1.Time) *FleetAutoscalerStatusApplyConfiguration
- func (b *FleetAutoscalerStatusApplyConfiguration) WithScalingLimited(value bool) *FleetAutoscalerStatusApplyConfiguration
- type FleetAutoscalerSyncApplyConfiguration
- type ListPolicyApplyConfiguration
- func (b *ListPolicyApplyConfiguration) WithBufferSize(value intstr.IntOrString) *ListPolicyApplyConfiguration
- func (b *ListPolicyApplyConfiguration) WithKey(value string) *ListPolicyApplyConfiguration
- func (b *ListPolicyApplyConfiguration) WithMaxCapacity(value int64) *ListPolicyApplyConfiguration
- func (b *ListPolicyApplyConfiguration) WithMinCapacity(value int64) *ListPolicyApplyConfiguration
- type WebhookPolicyApplyConfiguration
- func (b *WebhookPolicyApplyConfiguration) WithCABundle(values ...byte) *WebhookPolicyApplyConfiguration
- func (b *WebhookPolicyApplyConfiguration) WithService(value v1.ServiceReference) *WebhookPolicyApplyConfiguration
- func (b *WebhookPolicyApplyConfiguration) WithURL(value string) *WebhookPolicyApplyConfiguration
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 ¶
func (b *BufferPolicyApplyConfiguration) WithBufferSize(value intstr.IntOrString) *BufferPolicyApplyConfiguration
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 ¶
func (b *BufferPolicyApplyConfiguration) WithMaxReplicas(value int32) *BufferPolicyApplyConfiguration
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 ¶
func (b *BufferPolicyApplyConfiguration) WithMinReplicas(value int32) *BufferPolicyApplyConfiguration
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 ¶
func (b *CounterPolicyApplyConfiguration) WithBufferSize(value intstr.IntOrString) *CounterPolicyApplyConfiguration
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 ¶
func (b *CounterPolicyApplyConfiguration) WithKey(value string) *CounterPolicyApplyConfiguration
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 ¶
func (b *CounterPolicyApplyConfiguration) WithMaxCapacity(value int64) *CounterPolicyApplyConfiguration
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 ¶
func (b *CounterPolicyApplyConfiguration) WithMinCapacity(value int64) *CounterPolicyApplyConfiguration
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 ¶
func (b *FixedIntervalSyncApplyConfiguration) WithSeconds(value int32) *FixedIntervalSyncApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithAPIVersion(value string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithAnnotations(entries map[string]string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithFinalizers(values ...string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithGenerateName(value string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithGeneration(value int64) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithKind(value string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithLabels(entries map[string]string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithName(value string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithNamespace(value string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithResourceVersion(value string) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithSpec(value *FleetAutoscalerSpecApplyConfiguration) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithStatus(value *FleetAutoscalerStatusApplyConfiguration) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerApplyConfiguration) WithUID(value types.UID) *FleetAutoscalerApplyConfiguration
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 ¶
func (b *FleetAutoscalerPolicyApplyConfiguration) WithBuffer(value *BufferPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
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 ¶
func (b *FleetAutoscalerPolicyApplyConfiguration) WithCounter(value *CounterPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
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 ¶
func (b *FleetAutoscalerPolicyApplyConfiguration) WithList(value *ListPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
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 ¶
func (b *FleetAutoscalerPolicyApplyConfiguration) WithType(value v1.FleetAutoscalerPolicyType) *FleetAutoscalerPolicyApplyConfiguration
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 ¶
func (b *FleetAutoscalerPolicyApplyConfiguration) WithWebhook(value *WebhookPolicyApplyConfiguration) *FleetAutoscalerPolicyApplyConfiguration
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 ¶
func (b *FleetAutoscalerSpecApplyConfiguration) WithFleetName(value string) *FleetAutoscalerSpecApplyConfiguration
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 ¶
func (b *FleetAutoscalerSpecApplyConfiguration) WithPolicy(value *FleetAutoscalerPolicyApplyConfiguration) *FleetAutoscalerSpecApplyConfiguration
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 ¶
func (b *FleetAutoscalerSpecApplyConfiguration) WithSync(value *FleetAutoscalerSyncApplyConfiguration) *FleetAutoscalerSpecApplyConfiguration
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 ¶
func (b *FleetAutoscalerStatusApplyConfiguration) WithAbleToScale(value bool) *FleetAutoscalerStatusApplyConfiguration
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 ¶
func (b *FleetAutoscalerStatusApplyConfiguration) WithCurrentReplicas(value int32) *FleetAutoscalerStatusApplyConfiguration
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 ¶
func (b *FleetAutoscalerStatusApplyConfiguration) WithDesiredReplicas(value int32) *FleetAutoscalerStatusApplyConfiguration
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 ¶
func (b *FleetAutoscalerStatusApplyConfiguration) WithLastScaleTime(value v1.Time) *FleetAutoscalerStatusApplyConfiguration
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 ¶
func (b *FleetAutoscalerStatusApplyConfiguration) WithScalingLimited(value bool) *FleetAutoscalerStatusApplyConfiguration
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 ¶
func (b *FleetAutoscalerSyncApplyConfiguration) WithFixedInterval(value *FixedIntervalSyncApplyConfiguration) *FleetAutoscalerSyncApplyConfiguration
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 ¶
func (b *FleetAutoscalerSyncApplyConfiguration) WithType(value v1.FleetAutoscalerSyncType) *FleetAutoscalerSyncApplyConfiguration
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 ¶
func (b *ListPolicyApplyConfiguration) WithBufferSize(value intstr.IntOrString) *ListPolicyApplyConfiguration
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 ¶
func (b *ListPolicyApplyConfiguration) WithKey(value string) *ListPolicyApplyConfiguration
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 ¶
func (b *ListPolicyApplyConfiguration) WithMaxCapacity(value int64) *ListPolicyApplyConfiguration
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 ¶
func (b *ListPolicyApplyConfiguration) WithMinCapacity(value int64) *ListPolicyApplyConfiguration
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 ¶
func (b *WebhookPolicyApplyConfiguration) WithCABundle(values ...byte) *WebhookPolicyApplyConfiguration
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 ¶
func (b *WebhookPolicyApplyConfiguration) WithService(value v1.ServiceReference) *WebhookPolicyApplyConfiguration
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 ¶
func (b *WebhookPolicyApplyConfiguration) WithURL(value string) *WebhookPolicyApplyConfiguration
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.