v1alpha1

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 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 InstaScaleApplyConfiguration

type InstaScaleApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *InstaScaleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *InstaScaleStatusApplyConfiguration `json:"status,omitempty"`
}

InstaScaleApplyConfiguration represents an declarative configuration of the InstaScale type for use with apply.

func InstaScale

func InstaScale(name, namespace string) *InstaScaleApplyConfiguration

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

func (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) WithCreationTimestamp

func (b *InstaScaleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstaScaleApplyConfiguration

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

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

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 (*InstaScaleApplyConfiguration) WithDeletionTimestamp

func (b *InstaScaleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstaScaleApplyConfiguration

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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) WithResourceVersion

func (b *InstaScaleApplyConfiguration) WithResourceVersion(value string) *InstaScaleApplyConfiguration

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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 (*InstaScaleApplyConfiguration) 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 InstaScaleSpecApplyConfiguration

type InstaScaleSpecApplyConfiguration struct {
	EnableMonitoring    *bool                    `json:"enableMonitoring,omitempty"`
	MaxScaleoutAllowed  *int                     `json:"maxScaleoutAllowed,omitempty"`
	UseMachinePools     *bool                    `json:"useMachinePools,omitempty"`
	ControllerResources *v1.ResourceRequirements `json:"controllerResources,omitempty"`
	ControllerImage     *string                  `json:"controllerImage,omitempty"`
}

InstaScaleSpecApplyConfiguration represents an declarative configuration of the InstaScaleSpec type for use with apply.

func InstaScaleSpec

func InstaScaleSpec() *InstaScaleSpecApplyConfiguration

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

func (*InstaScaleSpecApplyConfiguration) WithControllerImage

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

func (*InstaScaleSpecApplyConfiguration) WithControllerResources

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

func (*InstaScaleSpecApplyConfiguration) WithEnableMonitoring

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

func (*InstaScaleSpecApplyConfiguration) WithMaxScaleoutAllowed

func (b *InstaScaleSpecApplyConfiguration) WithMaxScaleoutAllowed(value int) *InstaScaleSpecApplyConfiguration

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

func (*InstaScaleSpecApplyConfiguration) WithUseMachinePools

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

type InstaScaleStatusApplyConfiguration

type InstaScaleStatusApplyConfiguration struct {
	Ready *bool `json:"ready,omitempty"`
}

InstaScaleStatusApplyConfiguration represents an declarative configuration of the InstaScaleStatus type for use with apply.

func InstaScaleStatus

func InstaScaleStatus() *InstaScaleStatusApplyConfiguration

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

func (*InstaScaleStatusApplyConfiguration) WithReady

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

type MCADApplyConfiguration

type MCADApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *MCADSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *MCADStatusApplyConfiguration `json:"status,omitempty"`
}

MCADApplyConfiguration represents an declarative configuration of the MCAD type for use with apply.

func MCAD

func MCAD(name, namespace string) *MCADApplyConfiguration

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

func (*MCADApplyConfiguration) WithAPIVersion

func (b *MCADApplyConfiguration) WithAPIVersion(value string) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) WithAnnotations

func (b *MCADApplyConfiguration) WithAnnotations(entries map[string]string) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) WithCreationTimestamp

func (b *MCADApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MCADApplyConfiguration

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

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

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 (*MCADApplyConfiguration) WithDeletionTimestamp

func (b *MCADApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) WithFinalizers

func (b *MCADApplyConfiguration) WithFinalizers(values ...string) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) WithGenerateName

func (b *MCADApplyConfiguration) WithGenerateName(value string) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) WithGeneration

func (b *MCADApplyConfiguration) WithGeneration(value int64) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) 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 (*MCADApplyConfiguration) WithLabels

func (b *MCADApplyConfiguration) WithLabels(entries map[string]string) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) 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 (*MCADApplyConfiguration) WithNamespace

func (b *MCADApplyConfiguration) WithNamespace(value string) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) 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 (*MCADApplyConfiguration) WithResourceVersion

func (b *MCADApplyConfiguration) WithResourceVersion(value string) *MCADApplyConfiguration

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 (*MCADApplyConfiguration) 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 (*MCADApplyConfiguration) 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 (*MCADApplyConfiguration) 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 MCADSpecApplyConfiguration

type MCADSpecApplyConfiguration struct {
	EnableMonitoring    *bool                    `json:"enableMonitoring,omitempty"`
	MultiCluster        *bool                    `json:"multiCluster,omitempty"`
	DispatcherMode      *bool                    `json:"dispatcherMode,omitempty"`
	PreemptionEnabled   *bool                    `json:"preemptionEnabled,omitempty"`
	AgentConfigs        *string                  `json:"agentConfigs,omitempty"`
	QuotaRestURL        *string                  `json:"quotaRestURL,omitempty"`
	PodCreationTimeout  *int                     `json:"podCreationTimeout,omitempty"`
	ControllerResources *v1.ResourceRequirements `json:"controllerResources,omitempty"`
	ControllerImage     *string                  `json:"controllerImage,omitempty"`
}

MCADSpecApplyConfiguration represents an declarative configuration of the MCADSpec type for use with apply.

func MCADSpec

func MCADSpec() *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithAgentConfigs

func (b *MCADSpecApplyConfiguration) WithAgentConfigs(value string) *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithControllerImage added in v0.1.0

func (b *MCADSpecApplyConfiguration) WithControllerImage(value string) *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithControllerResources

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

func (*MCADSpecApplyConfiguration) WithDispatcherMode

func (b *MCADSpecApplyConfiguration) WithDispatcherMode(value bool) *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithEnableMonitoring

func (b *MCADSpecApplyConfiguration) WithEnableMonitoring(value bool) *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithMultiCluster

func (b *MCADSpecApplyConfiguration) WithMultiCluster(value bool) *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithPodCreationTimeout

func (b *MCADSpecApplyConfiguration) WithPodCreationTimeout(value int) *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithPreemptionEnabled

func (b *MCADSpecApplyConfiguration) WithPreemptionEnabled(value bool) *MCADSpecApplyConfiguration

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

func (*MCADSpecApplyConfiguration) WithQuotaRestURL

func (b *MCADSpecApplyConfiguration) WithQuotaRestURL(value string) *MCADSpecApplyConfiguration

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

type MCADStatusApplyConfiguration

type MCADStatusApplyConfiguration struct {
	Ready *bool `json:"ready,omitempty"`
}

MCADStatusApplyConfiguration represents an declarative configuration of the MCADStatus type for use with apply.

func MCADStatus

func MCADStatus() *MCADStatusApplyConfiguration

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

func (*MCADStatusApplyConfiguration) WithReady

WithReady sets the Ready 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 Ready 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