v1beta1

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 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 AppWrapperApplyConfiguration

type AppWrapperApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *AppWrapperSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *AppWrapperStatusApplyConfiguration `json:"status,omitempty"`
}

AppWrapperApplyConfiguration represents an declarative configuration of the AppWrapper type for use with apply.

func AppWrapper

func AppWrapper(name, namespace string) *AppWrapperApplyConfiguration

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

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

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

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

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

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

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

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

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

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 (*AppWrapperApplyConfiguration) 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 (*AppWrapperApplyConfiguration) 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 (*AppWrapperApplyConfiguration) 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 AppWrapperConditionApplyConfiguration

type AppWrapperConditionApplyConfiguration struct {
	Type                    *v1beta1.AppWrapperConditionType `json:"type,omitempty"`
	Status                  *v1.ConditionStatus              `json:"status,omitempty"`
	LastUpdateMicroTime     *metav1.MicroTime                `json:"lastUpdateMicroTime,omitempty"`
	LastTransitionMicroTime *metav1.MicroTime                `json:"lastTransitionMicroTime,omitempty"`
	Reason                  *string                          `json:"reason,omitempty"`
	Message                 *string                          `json:"message,omitempty"`
}

AppWrapperConditionApplyConfiguration represents an declarative configuration of the AppWrapperCondition type for use with apply.

func AppWrapperCondition

func AppWrapperCondition() *AppWrapperConditionApplyConfiguration

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

func (*AppWrapperConditionApplyConfiguration) WithLastTransitionMicroTime

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

func (*AppWrapperConditionApplyConfiguration) WithLastUpdateMicroTime

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

func (*AppWrapperConditionApplyConfiguration) WithMessage

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

func (*AppWrapperConditionApplyConfiguration) WithReason

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

func (*AppWrapperConditionApplyConfiguration) 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 (*AppWrapperConditionApplyConfiguration) 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 AppWrapperGenericResourceApplyConfiguration

type AppWrapperGenericResourceApplyConfiguration struct {
	DesiredAvailable   *int32                                        `json:"replicas,omitempty"`
	MinAvailable       *int32                                        `json:"minavailable,omitempty"`
	Allocated          *int32                                        `json:"allocated,omitempty"`
	Priority           *int32                                        `json:"priority,omitempty"`
	PrioritySlope      *float64                                      `json:"priorityslope,omitempty"`
	GenericTemplate    *runtime.RawExtension                         `json:"generictemplate,omitempty"`
	CustomPodResources []CustomPodResourceTemplateApplyConfiguration `json:"custompodresources,omitempty"`
	CompletionStatus   *string                                       `json:"completionstatus,omitempty"`
}

AppWrapperGenericResourceApplyConfiguration represents an declarative configuration of the AppWrapperGenericResource type for use with apply.

func AppWrapperGenericResource

func AppWrapperGenericResource() *AppWrapperGenericResourceApplyConfiguration

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

func (*AppWrapperGenericResourceApplyConfiguration) WithAllocated

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

func (*AppWrapperGenericResourceApplyConfiguration) WithCompletionStatus

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

func (*AppWrapperGenericResourceApplyConfiguration) WithCustomPodResources

WithCustomPodResources adds the given value to the CustomPodResources 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 CustomPodResources field.

func (*AppWrapperGenericResourceApplyConfiguration) WithDesiredAvailable

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

func (*AppWrapperGenericResourceApplyConfiguration) WithGenericTemplate

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

func (*AppWrapperGenericResourceApplyConfiguration) WithMinAvailable

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

func (*AppWrapperGenericResourceApplyConfiguration) WithPriority

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

func (*AppWrapperGenericResourceApplyConfiguration) WithPrioritySlope

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

type AppWrapperResourceListApplyConfiguration

type AppWrapperResourceListApplyConfiguration struct {
	GenericItems []AppWrapperGenericResourceApplyConfiguration `json:"GenericItems,omitempty"`
}

AppWrapperResourceListApplyConfiguration represents an declarative configuration of the AppWrapperResourceList type for use with apply.

func AppWrapperResourceList

func AppWrapperResourceList() *AppWrapperResourceListApplyConfiguration

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

func (*AppWrapperResourceListApplyConfiguration) WithGenericItems

WithGenericItems adds the given value to the GenericItems 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 GenericItems field.

type AppWrapperServiceApplyConfiguration

type AppWrapperServiceApplyConfiguration struct {
	Spec *v1.ServiceSpec `json:"spec,omitempty"`
}

AppWrapperServiceApplyConfiguration represents an declarative configuration of the AppWrapperService type for use with apply.

func AppWrapperService

func AppWrapperService() *AppWrapperServiceApplyConfiguration

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

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

type AppWrapperSpecApplyConfiguration

type AppWrapperSpecApplyConfiguration struct {
	Priority      *int32                                    `json:"priority,omitempty"`
	PrioritySlope *float64                                  `json:"priorityslope,omitempty"`
	Service       *AppWrapperServiceApplyConfiguration      `json:"service,omitempty"`
	AggrResources *AppWrapperResourceListApplyConfiguration `json:"resources,omitempty"`
	Selector      *v1.LabelSelector                         `json:"selector,omitempty"`
	SchedSpec     *SchedulingSpecTemplateApplyConfiguration `json:"schedulingSpec,omitempty"`
}

AppWrapperSpecApplyConfiguration represents an declarative configuration of the AppWrapperSpec type for use with apply.

func AppWrapperSpec

func AppWrapperSpec() *AppWrapperSpecApplyConfiguration

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

func (*AppWrapperSpecApplyConfiguration) WithAggrResources

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

func (*AppWrapperSpecApplyConfiguration) WithPriority

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

func (*AppWrapperSpecApplyConfiguration) WithPrioritySlope

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

func (*AppWrapperSpecApplyConfiguration) WithSchedSpec

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

func (*AppWrapperSpecApplyConfiguration) WithSelector

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

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

type AppWrapperStatusApplyConfiguration

type AppWrapperStatusApplyConfiguration struct {
	Pending                          *int32                                  `json:"pending,omitempty"`
	Running                          *int32                                  `json:"running,omitempty"`
	Succeeded                        *int32                                  `json:"Succeeded,omitempty"`
	Failed                           *int32                                  `json:"failed,omitempty"`
	MinAvailable                     *int32                                  `json:"template,omitempty"`
	CanRun                           *bool                                   `json:"canrun,omitempty"`
	IsDispatched                     *bool                                   `json:"isdispatched,omitempty"`
	State                            *v1beta1.AppWrapperState                `json:"state,omitempty"`
	Message                          *string                                 `json:"message,omitempty"`
	SystemPriority                   *float64                                `json:"systempriority,omitempty"`
	QueueJobState                    *v1beta1.AppWrapperConditionType        `json:"queuejobstate,omitempty"`
	ControllerFirstTimestamp         *v1.MicroTime                           `json:"controllerfirsttimestamp,omitempty"`
	ControllerFirstDispatchTimestamp *v1.MicroTime                           `json:"controllerfirstdispatchtimestamp,omitempty"`
	FilterIgnore                     *bool                                   `json:"filterignore,omitempty"`
	Sender                           *string                                 `json:"sender,omitempty"`
	Local                            *bool                                   `json:"local,omitempty"`
	Conditions                       []AppWrapperConditionApplyConfiguration `json:"conditions,omitempty"`
	PendingPodConditions             []PendingPodSpecApplyConfiguration      `json:"pendingpodconditions,omitempty"`
	TotalCPU                         *int32                                  `json:"totalcpu,omitempty"`
	TotalMemory                      *int32                                  `json:"totalmemory,omitempty"`
	TotalGPU                         *int32                                  `json:"totalgpu,omitempty"`
	RequeueingTimeInSeconds          *int                                    `json:"requeueingTimeInSeconds,omitempty"`
	NumberOfRequeueings              *int                                    `json:"numberOfRequeueings,omitempty"`
}

AppWrapperStatusApplyConfiguration represents an declarative configuration of the AppWrapperStatus type for use with apply.

func AppWrapperStatus

func AppWrapperStatus() *AppWrapperStatusApplyConfiguration

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

func (*AppWrapperStatusApplyConfiguration) WithCanRun

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

func (*AppWrapperStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*AppWrapperStatusApplyConfiguration) WithControllerFirstDispatchTimestamp

func (b *AppWrapperStatusApplyConfiguration) WithControllerFirstDispatchTimestamp(value v1.MicroTime) *AppWrapperStatusApplyConfiguration

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

func (*AppWrapperStatusApplyConfiguration) WithControllerFirstTimestamp

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

func (*AppWrapperStatusApplyConfiguration) WithFailed

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

func (*AppWrapperStatusApplyConfiguration) WithFilterIgnore

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

func (*AppWrapperStatusApplyConfiguration) WithIsDispatched

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

func (*AppWrapperStatusApplyConfiguration) WithLocal

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

func (*AppWrapperStatusApplyConfiguration) WithMessage

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

func (*AppWrapperStatusApplyConfiguration) WithMinAvailable

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

func (*AppWrapperStatusApplyConfiguration) WithNumberOfRequeueings

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

func (*AppWrapperStatusApplyConfiguration) WithPending

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

func (*AppWrapperStatusApplyConfiguration) WithPendingPodConditions

WithPendingPodConditions adds the given value to the PendingPodConditions 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 PendingPodConditions field.

func (*AppWrapperStatusApplyConfiguration) WithQueueJobState

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

func (*AppWrapperStatusApplyConfiguration) WithRequeueingTimeInSeconds

func (b *AppWrapperStatusApplyConfiguration) WithRequeueingTimeInSeconds(value int) *AppWrapperStatusApplyConfiguration

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

func (*AppWrapperStatusApplyConfiguration) WithRunning

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

func (*AppWrapperStatusApplyConfiguration) WithSender

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

func (*AppWrapperStatusApplyConfiguration) WithState

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

func (*AppWrapperStatusApplyConfiguration) WithSucceeded

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

func (*AppWrapperStatusApplyConfiguration) WithSystemPriority

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

func (*AppWrapperStatusApplyConfiguration) WithTotalCPU

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

func (*AppWrapperStatusApplyConfiguration) WithTotalGPU

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

func (*AppWrapperStatusApplyConfiguration) WithTotalMemory

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

type CustomPodResourceTemplateApplyConfiguration

type CustomPodResourceTemplateApplyConfiguration struct {
	Replicas *int             `json:"replicas,omitempty"`
	Requests *v1.ResourceList `json:"requests,omitempty"`
	Limits   *v1.ResourceList `json:"limits,omitempty"`
}

CustomPodResourceTemplateApplyConfiguration represents an declarative configuration of the CustomPodResourceTemplate type for use with apply.

func CustomPodResourceTemplate

func CustomPodResourceTemplate() *CustomPodResourceTemplateApplyConfiguration

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

func (*CustomPodResourceTemplateApplyConfiguration) WithLimits

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

func (*CustomPodResourceTemplateApplyConfiguration) WithReplicas

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

func (*CustomPodResourceTemplateApplyConfiguration) WithRequests

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

type DispatchDurationSpecApplyConfiguration

type DispatchDurationSpecApplyConfiguration struct {
	Expected *int  `json:"expected,omitempty"`
	Limit    *int  `json:"limit,omitempty"`
	Overrun  *bool `json:"overrun,omitempty"`
}

DispatchDurationSpecApplyConfiguration represents an declarative configuration of the DispatchDurationSpec type for use with apply.

func DispatchDurationSpec

func DispatchDurationSpec() *DispatchDurationSpecApplyConfiguration

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

func (*DispatchDurationSpecApplyConfiguration) WithExpected

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

func (*DispatchDurationSpecApplyConfiguration) WithLimit

WithLimit sets the Limit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Limit field is set to the value of the last call.

func (*DispatchDurationSpecApplyConfiguration) WithOverrun

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

type PendingPodSpecApplyConfiguration

type PendingPodSpecApplyConfiguration struct {
	PodName    *string           `json:"podname,omitempty"`
	Conditions []v1.PodCondition `json:"conditions,omitempty"`
}

PendingPodSpecApplyConfiguration represents an declarative configuration of the PendingPodSpec type for use with apply.

func PendingPodSpec

func PendingPodSpec() *PendingPodSpecApplyConfiguration

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

func (*PendingPodSpecApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*PendingPodSpecApplyConfiguration) WithPodName

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

type RequeuingTemplateApplyConfiguration

type RequeuingTemplateApplyConfiguration struct {
	InitialTimeInSeconds *int    `json:"initialTimeInSeconds,omitempty"`
	TimeInSeconds        *int    `json:"timeInSeconds,omitempty"`
	MaxTimeInSeconds     *int    `json:"maxTimeInSeconds,omitempty"`
	GrowthType           *string `json:"growthType,omitempty"`
	NumRequeuings        *int    `json:"numRequeuings,omitempty"`
	MaxNumRequeuings     *int    `json:"maxNumRequeuings,omitempty"`
}

RequeuingTemplateApplyConfiguration represents an declarative configuration of the RequeuingTemplate type for use with apply.

func RequeuingTemplate

func RequeuingTemplate() *RequeuingTemplateApplyConfiguration

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

func (*RequeuingTemplateApplyConfiguration) WithGrowthType

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

func (*RequeuingTemplateApplyConfiguration) WithInitialTimeInSeconds

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

func (*RequeuingTemplateApplyConfiguration) WithMaxNumRequeuings

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

func (*RequeuingTemplateApplyConfiguration) WithMaxTimeInSeconds

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

func (*RequeuingTemplateApplyConfiguration) WithNumRequeuings

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

func (*RequeuingTemplateApplyConfiguration) WithTimeInSeconds

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

type SchedulingSpecTemplateApplyConfiguration

type SchedulingSpecTemplateApplyConfiguration struct {
	NodeSelector     map[string]string                       `json:"nodeSelector,omitempty"`
	MinAvailable     *int                                    `json:"minAvailable,omitempty"`
	Requeuing        *RequeuingTemplateApplyConfiguration    `json:"requeuing,omitempty"`
	DispatchDuration *DispatchDurationSpecApplyConfiguration `json:"dispatchDuration,omitempty"`
}

SchedulingSpecTemplateApplyConfiguration represents an declarative configuration of the SchedulingSpecTemplate type for use with apply.

func SchedulingSpecTemplate

func SchedulingSpecTemplate() *SchedulingSpecTemplateApplyConfiguration

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

func (*SchedulingSpecTemplateApplyConfiguration) WithDispatchDuration

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

func (*SchedulingSpecTemplateApplyConfiguration) WithMinAvailable

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

func (*SchedulingSpecTemplateApplyConfiguration) WithNodeSelector

WithNodeSelector puts the entries into the NodeSelector 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 NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.

func (*SchedulingSpecTemplateApplyConfiguration) WithRequeuing

WithRequeuing sets the Requeuing 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 Requeuing 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