Documentation ¶
Index ¶
- type AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithAPIVersion(value string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithAnnotations(entries map[string]string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithFinalizers(values ...string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithGenerateName(value string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithGeneration(value int64) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithKind(value string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithLabels(entries map[string]string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithName(value string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithNamespace(value string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithResourceVersion(value string) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithSpec(value *AppWrapperSpecApplyConfiguration) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithStatus(value *AppWrapperStatusApplyConfiguration) *AppWrapperApplyConfiguration
- func (b *AppWrapperApplyConfiguration) WithUID(value types.UID) *AppWrapperApplyConfiguration
- type AppWrapperConditionApplyConfiguration
- func (b *AppWrapperConditionApplyConfiguration) WithLastTransitionMicroTime(value metav1.MicroTime) *AppWrapperConditionApplyConfiguration
- func (b *AppWrapperConditionApplyConfiguration) WithLastUpdateMicroTime(value metav1.MicroTime) *AppWrapperConditionApplyConfiguration
- func (b *AppWrapperConditionApplyConfiguration) WithMessage(value string) *AppWrapperConditionApplyConfiguration
- func (b *AppWrapperConditionApplyConfiguration) WithReason(value string) *AppWrapperConditionApplyConfiguration
- func (b *AppWrapperConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *AppWrapperConditionApplyConfiguration
- func (b *AppWrapperConditionApplyConfiguration) WithType(value v1beta1.AppWrapperConditionType) *AppWrapperConditionApplyConfiguration
- type AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithAllocated(value int32) *AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithCompletionStatus(value string) *AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithCustomPodResources(values ...*CustomPodResourceTemplateApplyConfiguration) *AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithDesiredAvailable(value int32) *AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithGenericTemplate(value runtime.RawExtension) *AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithMinAvailable(value int32) *AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithPriority(value int32) *AppWrapperGenericResourceApplyConfiguration
- func (b *AppWrapperGenericResourceApplyConfiguration) WithPrioritySlope(value float64) *AppWrapperGenericResourceApplyConfiguration
- type AppWrapperResourceListApplyConfiguration
- type AppWrapperServiceApplyConfiguration
- type AppWrapperSpecApplyConfiguration
- func (b *AppWrapperSpecApplyConfiguration) WithAggrResources(value *AppWrapperResourceListApplyConfiguration) *AppWrapperSpecApplyConfiguration
- func (b *AppWrapperSpecApplyConfiguration) WithPriority(value int32) *AppWrapperSpecApplyConfiguration
- func (b *AppWrapperSpecApplyConfiguration) WithPrioritySlope(value float64) *AppWrapperSpecApplyConfiguration
- func (b *AppWrapperSpecApplyConfiguration) WithSchedSpec(value *SchedulingSpecTemplateApplyConfiguration) *AppWrapperSpecApplyConfiguration
- func (b *AppWrapperSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *AppWrapperSpecApplyConfiguration
- func (b *AppWrapperSpecApplyConfiguration) WithService(value *AppWrapperServiceApplyConfiguration) *AppWrapperSpecApplyConfiguration
- type AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithCanRun(value bool) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithConditions(values ...*AppWrapperConditionApplyConfiguration) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithControllerFirstDispatchTimestamp(value v1.MicroTime) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithControllerFirstTimestamp(value v1.MicroTime) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithFailed(value int32) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithFilterIgnore(value bool) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithIsDispatched(value bool) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithLocal(value bool) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithMessage(value string) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithMinAvailable(value int32) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithNumberOfRequeueings(value int) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithPending(value int32) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithPendingPodConditions(values ...*PendingPodSpecApplyConfiguration) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithQueueJobState(value v1beta1.AppWrapperConditionType) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithRequeueingTimeInSeconds(value int) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithRunning(value int32) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithSender(value string) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithState(value v1beta1.AppWrapperState) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithSucceeded(value int32) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithSystemPriority(value float64) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithTotalCPU(value int32) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithTotalGPU(value int32) *AppWrapperStatusApplyConfiguration
- func (b *AppWrapperStatusApplyConfiguration) WithTotalMemory(value int32) *AppWrapperStatusApplyConfiguration
- type CustomPodResourceTemplateApplyConfiguration
- func (b *CustomPodResourceTemplateApplyConfiguration) WithLimits(value v1.ResourceList) *CustomPodResourceTemplateApplyConfiguration
- func (b *CustomPodResourceTemplateApplyConfiguration) WithReplicas(value int) *CustomPodResourceTemplateApplyConfiguration
- func (b *CustomPodResourceTemplateApplyConfiguration) WithRequests(value v1.ResourceList) *CustomPodResourceTemplateApplyConfiguration
- type DispatchDurationSpecApplyConfiguration
- func (b *DispatchDurationSpecApplyConfiguration) WithExpected(value int) *DispatchDurationSpecApplyConfiguration
- func (b *DispatchDurationSpecApplyConfiguration) WithLimit(value int) *DispatchDurationSpecApplyConfiguration
- func (b *DispatchDurationSpecApplyConfiguration) WithOverrun(value bool) *DispatchDurationSpecApplyConfiguration
- type PendingPodSpecApplyConfiguration
- type RequeuingTemplateApplyConfiguration
- func (b *RequeuingTemplateApplyConfiguration) WithGrowthType(value string) *RequeuingTemplateApplyConfiguration
- func (b *RequeuingTemplateApplyConfiguration) WithInitialTimeInSeconds(value int) *RequeuingTemplateApplyConfiguration
- func (b *RequeuingTemplateApplyConfiguration) WithMaxNumRequeuings(value int) *RequeuingTemplateApplyConfiguration
- func (b *RequeuingTemplateApplyConfiguration) WithMaxTimeInSeconds(value int) *RequeuingTemplateApplyConfiguration
- func (b *RequeuingTemplateApplyConfiguration) WithNumRequeuings(value int) *RequeuingTemplateApplyConfiguration
- func (b *RequeuingTemplateApplyConfiguration) WithTimeInSeconds(value int) *RequeuingTemplateApplyConfiguration
- type SchedulingSpecTemplateApplyConfiguration
- func (b *SchedulingSpecTemplateApplyConfiguration) WithDispatchDuration(value *DispatchDurationSpecApplyConfiguration) *SchedulingSpecTemplateApplyConfiguration
- func (b *SchedulingSpecTemplateApplyConfiguration) WithMinAvailable(value int) *SchedulingSpecTemplateApplyConfiguration
- func (b *SchedulingSpecTemplateApplyConfiguration) WithNodeSelector(entries map[string]string) *SchedulingSpecTemplateApplyConfiguration
- func (b *SchedulingSpecTemplateApplyConfiguration) WithRequeuing(value *RequeuingTemplateApplyConfiguration) *SchedulingSpecTemplateApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithAPIVersion(value string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithAnnotations(entries map[string]string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithFinalizers(values ...string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithGenerateName(value string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithGeneration(value int64) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithKind(value string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithLabels(entries map[string]string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithName(value string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithNamespace(value string) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithSpec(value *AppWrapperSpecApplyConfiguration) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithStatus(value *AppWrapperStatusApplyConfiguration) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperApplyConfiguration) WithUID(value types.UID) *AppWrapperApplyConfiguration
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 ¶
func (b *AppWrapperConditionApplyConfiguration) WithLastTransitionMicroTime(value metav1.MicroTime) *AppWrapperConditionApplyConfiguration
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 ¶
func (b *AppWrapperConditionApplyConfiguration) WithLastUpdateMicroTime(value metav1.MicroTime) *AppWrapperConditionApplyConfiguration
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 ¶
func (b *AppWrapperConditionApplyConfiguration) WithMessage(value string) *AppWrapperConditionApplyConfiguration
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 ¶
func (b *AppWrapperConditionApplyConfiguration) WithReason(value string) *AppWrapperConditionApplyConfiguration
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 ¶
func (b *AppWrapperConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *AppWrapperConditionApplyConfiguration
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 ¶
func (b *AppWrapperConditionApplyConfiguration) WithType(value v1beta1.AppWrapperConditionType) *AppWrapperConditionApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithAllocated(value int32) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithCompletionStatus(value string) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithCustomPodResources(values ...*CustomPodResourceTemplateApplyConfiguration) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithDesiredAvailable(value int32) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithGenericTemplate(value runtime.RawExtension) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithMinAvailable(value int32) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithPriority(value int32) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperGenericResourceApplyConfiguration) WithPrioritySlope(value float64) *AppWrapperGenericResourceApplyConfiguration
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 ¶
func (b *AppWrapperResourceListApplyConfiguration) WithGenericItems(values ...*AppWrapperGenericResourceApplyConfiguration) *AppWrapperResourceListApplyConfiguration
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 ¶
func (b *AppWrapperServiceApplyConfiguration) WithSpec(value v1.ServiceSpec) *AppWrapperServiceApplyConfiguration
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 ¶
func (b *AppWrapperSpecApplyConfiguration) WithAggrResources(value *AppWrapperResourceListApplyConfiguration) *AppWrapperSpecApplyConfiguration
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 ¶
func (b *AppWrapperSpecApplyConfiguration) WithPriority(value int32) *AppWrapperSpecApplyConfiguration
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 ¶
func (b *AppWrapperSpecApplyConfiguration) WithPrioritySlope(value float64) *AppWrapperSpecApplyConfiguration
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 ¶
func (b *AppWrapperSpecApplyConfiguration) WithSchedSpec(value *SchedulingSpecTemplateApplyConfiguration) *AppWrapperSpecApplyConfiguration
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 ¶
func (b *AppWrapperSpecApplyConfiguration) WithSelector(value v1.LabelSelector) *AppWrapperSpecApplyConfiguration
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 ¶
func (b *AppWrapperSpecApplyConfiguration) WithService(value *AppWrapperServiceApplyConfiguration) *AppWrapperSpecApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithCanRun(value bool) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithConditions(values ...*AppWrapperConditionApplyConfiguration) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithControllerFirstTimestamp(value v1.MicroTime) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithFailed(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithFilterIgnore(value bool) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithIsDispatched(value bool) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithLocal(value bool) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithMessage(value string) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithMinAvailable(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithNumberOfRequeueings(value int) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithPending(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithPendingPodConditions(values ...*PendingPodSpecApplyConfiguration) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithQueueJobState(value v1beta1.AppWrapperConditionType) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithRunning(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithSender(value string) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithState(value v1beta1.AppWrapperState) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithSucceeded(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithSystemPriority(value float64) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithTotalCPU(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithTotalGPU(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *AppWrapperStatusApplyConfiguration) WithTotalMemory(value int32) *AppWrapperStatusApplyConfiguration
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 ¶
func (b *CustomPodResourceTemplateApplyConfiguration) WithLimits(value v1.ResourceList) *CustomPodResourceTemplateApplyConfiguration
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 ¶
func (b *CustomPodResourceTemplateApplyConfiguration) WithReplicas(value int) *CustomPodResourceTemplateApplyConfiguration
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 ¶
func (b *CustomPodResourceTemplateApplyConfiguration) WithRequests(value v1.ResourceList) *CustomPodResourceTemplateApplyConfiguration
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 ¶
func (b *DispatchDurationSpecApplyConfiguration) WithExpected(value int) *DispatchDurationSpecApplyConfiguration
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 ¶
func (b *DispatchDurationSpecApplyConfiguration) WithLimit(value int) *DispatchDurationSpecApplyConfiguration
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 ¶
func (b *DispatchDurationSpecApplyConfiguration) WithOverrun(value bool) *DispatchDurationSpecApplyConfiguration
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 ¶
func (b *PendingPodSpecApplyConfiguration) WithConditions(values ...v1.PodCondition) *PendingPodSpecApplyConfiguration
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 ¶
func (b *PendingPodSpecApplyConfiguration) WithPodName(value string) *PendingPodSpecApplyConfiguration
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 ¶
func (b *RequeuingTemplateApplyConfiguration) WithGrowthType(value string) *RequeuingTemplateApplyConfiguration
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 ¶
func (b *RequeuingTemplateApplyConfiguration) WithInitialTimeInSeconds(value int) *RequeuingTemplateApplyConfiguration
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 ¶
func (b *RequeuingTemplateApplyConfiguration) WithMaxNumRequeuings(value int) *RequeuingTemplateApplyConfiguration
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 ¶
func (b *RequeuingTemplateApplyConfiguration) WithMaxTimeInSeconds(value int) *RequeuingTemplateApplyConfiguration
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 ¶
func (b *RequeuingTemplateApplyConfiguration) WithNumRequeuings(value int) *RequeuingTemplateApplyConfiguration
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 ¶
func (b *RequeuingTemplateApplyConfiguration) WithTimeInSeconds(value int) *RequeuingTemplateApplyConfiguration
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 ¶
func (b *SchedulingSpecTemplateApplyConfiguration) WithDispatchDuration(value *DispatchDurationSpecApplyConfiguration) *SchedulingSpecTemplateApplyConfiguration
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 ¶
func (b *SchedulingSpecTemplateApplyConfiguration) WithMinAvailable(value int) *SchedulingSpecTemplateApplyConfiguration
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 ¶
func (b *SchedulingSpecTemplateApplyConfiguration) WithNodeSelector(entries map[string]string) *SchedulingSpecTemplateApplyConfiguration
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 ¶
func (b *SchedulingSpecTemplateApplyConfiguration) WithRequeuing(value *RequeuingTemplateApplyConfiguration) *SchedulingSpecTemplateApplyConfiguration
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.