v1alpha1

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependsOnApplyConfiguration

type DependsOnApplyConfiguration struct {
	Name      []string            `json:"name,omitempty"`
	Iteration *v1alpha1.Iteration `json:"iteration,omitempty"`
}

DependsOnApplyConfiguration represents an declarative configuration of the DependsOn type for use with apply.

func DependsOn

func DependsOn() *DependsOnApplyConfiguration

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

func (*DependsOnApplyConfiguration) WithIteration

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

func (*DependsOnApplyConfiguration) WithName

WithName adds the given value to the Name 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 Name field.

type JobApplyConfiguration

type JobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *JobSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *JobStatusApplyConfiguration `json:"status,omitempty"`
}

JobApplyConfiguration represents an declarative configuration of the Job type for use with apply.

func Job

func Job(name, namespace string) *JobApplyConfiguration

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

func (*JobApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*JobApplyConfiguration) 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 (*JobApplyConfiguration) 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 (*JobApplyConfiguration) 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 JobConditionApplyConfiguration

type JobConditionApplyConfiguration struct {
	Status             *v1alpha1.JobPhase `json:"status,omitempty"`
	LastTransitionTime *v1.Time           `json:"lastTransitionTime,omitempty"`
}

JobConditionApplyConfiguration represents an declarative configuration of the JobCondition type for use with apply.

func JobCondition

func JobCondition() *JobConditionApplyConfiguration

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

func (*JobConditionApplyConfiguration) WithLastTransitionTime

func (b *JobConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *JobConditionApplyConfiguration

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

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

type JobSpecApplyConfiguration

type JobSpecApplyConfiguration struct {
	SchedulerName           *string                             `json:"schedulerName,omitempty"`
	MinAvailable            *int32                              `json:"minAvailable,omitempty"`
	Volumes                 []VolumeSpecApplyConfiguration      `json:"volumes,omitempty"`
	Tasks                   []TaskSpecApplyConfiguration        `json:"tasks,omitempty"`
	Policies                []LifecyclePolicyApplyConfiguration `json:"policies,omitempty"`
	Plugins                 map[string][]string                 `json:"plugins,omitempty"`
	RunningEstimate         *v1.Duration                        `json:"runningEstimate,omitempty"`
	Queue                   *string                             `json:"queue,omitempty"`
	MaxRetry                *int32                              `json:"maxRetry,omitempty"`
	TTLSecondsAfterFinished *int32                              `json:"ttlSecondsAfterFinished,omitempty"`
	PriorityClassName       *string                             `json:"priorityClassName,omitempty"`
	MinSuccess              *int32                              `json:"minSuccess,omitempty"`
}

JobSpecApplyConfiguration represents an declarative configuration of the JobSpec type for use with apply.

func JobSpec

func JobSpec() *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) WithMaxRetry

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

func (*JobSpecApplyConfiguration) WithMinAvailable

func (b *JobSpecApplyConfiguration) WithMinAvailable(value int32) *JobSpecApplyConfiguration

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 (*JobSpecApplyConfiguration) WithMinSuccess

func (b *JobSpecApplyConfiguration) WithMinSuccess(value int32) *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) WithPlugins

func (b *JobSpecApplyConfiguration) WithPlugins(entries map[string][]string) *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) WithPolicies

WithPolicies adds the given value to the Policies 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 Policies field.

func (*JobSpecApplyConfiguration) WithPriorityClassName

func (b *JobSpecApplyConfiguration) WithPriorityClassName(value string) *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) WithQueue

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

func (*JobSpecApplyConfiguration) WithRunningEstimate

func (b *JobSpecApplyConfiguration) WithRunningEstimate(value v1.Duration) *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) WithSchedulerName

func (b *JobSpecApplyConfiguration) WithSchedulerName(value string) *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) WithTTLSecondsAfterFinished

func (b *JobSpecApplyConfiguration) WithTTLSecondsAfterFinished(value int32) *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) WithTasks

WithTasks adds the given value to the Tasks 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 Tasks field.

func (*JobSpecApplyConfiguration) WithVolumes

WithVolumes adds the given value to the Volumes 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 Volumes field.

type JobStateApplyConfiguration

type JobStateApplyConfiguration struct {
	Phase              *v1alpha1.JobPhase `json:"phase,omitempty"`
	Reason             *string            `json:"reason,omitempty"`
	Message            *string            `json:"message,omitempty"`
	LastTransitionTime *v1.Time           `json:"lastTransitionTime,omitempty"`
}

JobStateApplyConfiguration represents an declarative configuration of the JobState type for use with apply.

func JobState

func JobState() *JobStateApplyConfiguration

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

func (*JobStateApplyConfiguration) WithLastTransitionTime

func (b *JobStateApplyConfiguration) WithLastTransitionTime(value v1.Time) *JobStateApplyConfiguration

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

func (*JobStateApplyConfiguration) 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 (*JobStateApplyConfiguration) WithPhase

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

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

type JobStatusApplyConfiguration

type JobStatusApplyConfiguration struct {
	State               *JobStateApplyConfiguration            `json:"state,omitempty"`
	MinAvailable        *int32                                 `json:"minAvailable,omitempty"`
	TaskStatusCount     map[string]TaskStateApplyConfiguration `json:"taskStatusCount,omitempty"`
	Pending             *int32                                 `json:"pending,omitempty"`
	Running             *int32                                 `json:"running,omitempty"`
	Succeeded           *int32                                 `json:"succeeded,omitempty"`
	Failed              *int32                                 `json:"failed,omitempty"`
	Terminating         *int32                                 `json:"terminating,omitempty"`
	Unknown             *int32                                 `json:"unknown,omitempty"`
	Version             *int32                                 `json:"version,omitempty"`
	RetryCount          *int32                                 `json:"retryCount,omitempty"`
	RunningDuration     *v1.Duration                           `json:"runningDuration,omitempty"`
	ControlledResources map[string]string                      `json:"controlledResources,omitempty"`
	Conditions          []JobConditionApplyConfiguration       `json:"conditions,omitempty"`
}

JobStatusApplyConfiguration represents an declarative configuration of the JobStatus type for use with apply.

func JobStatus

func JobStatus() *JobStatusApplyConfiguration

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

func (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) WithControlledResources

func (b *JobStatusApplyConfiguration) WithControlledResources(entries map[string]string) *JobStatusApplyConfiguration

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

func (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) WithRetryCount

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

func (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) WithRunningDuration

func (b *JobStatusApplyConfiguration) WithRunningDuration(value v1.Duration) *JobStatusApplyConfiguration

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

func (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) WithTaskStatusCount

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

func (*JobStatusApplyConfiguration) WithTerminating

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

func (*JobStatusApplyConfiguration) WithUnknown

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

func (*JobStatusApplyConfiguration) WithVersion

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

type LifecyclePolicyApplyConfiguration

type LifecyclePolicyApplyConfiguration struct {
	Action   *v1alpha1.Action `json:"action,omitempty"`
	Event    *v1alpha1.Event  `json:"event,omitempty"`
	Events   []v1alpha1.Event `json:"events,omitempty"`
	ExitCode *int32           `json:"exitCode,omitempty"`
	Timeout  *v1.Duration     `json:"timeout,omitempty"`
}

LifecyclePolicyApplyConfiguration represents an declarative configuration of the LifecyclePolicy type for use with apply.

func LifecyclePolicy

func LifecyclePolicy() *LifecyclePolicyApplyConfiguration

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

func (*LifecyclePolicyApplyConfiguration) WithAction

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

func (*LifecyclePolicyApplyConfiguration) WithEvent

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

func (*LifecyclePolicyApplyConfiguration) WithEvents

WithEvents adds the given value to the Events 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 Events field.

func (*LifecyclePolicyApplyConfiguration) WithExitCode

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

func (*LifecyclePolicyApplyConfiguration) WithTimeout

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

type TaskSpecApplyConfiguration

type TaskSpecApplyConfiguration struct {
	Name           *string                             `json:"name,omitempty"`
	Replicas       *int32                              `json:"replicas,omitempty"`
	MinAvailable   *int32                              `json:"minAvailable,omitempty"`
	Template       *v1.PodTemplateSpec                 `json:"template,omitempty"`
	Policies       []LifecyclePolicyApplyConfiguration `json:"policies,omitempty"`
	TopologyPolicy *batchv1alpha1.NumaPolicy           `json:"topologyPolicy,omitempty"`
	MaxRetry       *int32                              `json:"maxRetry,omitempty"`
	DependsOn      *DependsOnApplyConfiguration        `json:"dependsOn,omitempty"`
}

TaskSpecApplyConfiguration represents an declarative configuration of the TaskSpec type for use with apply.

func TaskSpec

func TaskSpec() *TaskSpecApplyConfiguration

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

func (*TaskSpecApplyConfiguration) WithDependsOn

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

func (*TaskSpecApplyConfiguration) WithMaxRetry

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

func (*TaskSpecApplyConfiguration) WithMinAvailable

func (b *TaskSpecApplyConfiguration) WithMinAvailable(value int32) *TaskSpecApplyConfiguration

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 (*TaskSpecApplyConfiguration) 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 (*TaskSpecApplyConfiguration) WithPolicies

WithPolicies adds the given value to the Policies 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 Policies field.

func (*TaskSpecApplyConfiguration) 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 (*TaskSpecApplyConfiguration) WithTemplate

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

func (*TaskSpecApplyConfiguration) WithTopologyPolicy

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

type TaskStateApplyConfiguration

type TaskStateApplyConfiguration struct {
	Phase map[v1.PodPhase]int32 `json:"phase,omitempty"`
}

TaskStateApplyConfiguration represents an declarative configuration of the TaskState type for use with apply.

func TaskState

func TaskState() *TaskStateApplyConfiguration

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

func (*TaskStateApplyConfiguration) WithPhase

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

type VolumeSpecApplyConfiguration

type VolumeSpecApplyConfiguration struct {
	MountPath       *string                       `json:"mountPath,omitempty"`
	VolumeClaimName *string                       `json:"volumeClaimName,omitempty"`
	VolumeClaim     *v1.PersistentVolumeClaimSpec `json:"volumeClaim,omitempty"`
}

VolumeSpecApplyConfiguration represents an declarative configuration of the VolumeSpec type for use with apply.

func VolumeSpec

func VolumeSpec() *VolumeSpecApplyConfiguration

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

func (*VolumeSpecApplyConfiguration) WithMountPath

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

func (*VolumeSpecApplyConfiguration) WithVolumeClaim

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

func (*VolumeSpecApplyConfiguration) WithVolumeClaimName

func (b *VolumeSpecApplyConfiguration) WithVolumeClaimName(value string) *VolumeSpecApplyConfiguration

WithVolumeClaimName sets the VolumeClaimName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeClaimName 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