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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionApplyConfiguration

type ConditionApplyConfiguration struct {
	Phase           *v1alpha1.JobPhase                                   `json:"phase,omitempty"`
	CreateTimestamp *v1.Time                                             `json:"createTime,omitempty"`
	RunningDuration *v1.Duration                                         `json:"runningDuration,omitempty"`
	TaskStatusCount map[string]batchv1alpha1.TaskStateApplyConfiguration `json:"taskStatusCount,omitempty"`
}

ConditionApplyConfiguration represents an declarative configuration of the Condition type for use with apply.

func Condition

func Condition() *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithCreateTimestamp

func (b *ConditionApplyConfiguration) WithCreateTimestamp(value v1.Time) *ConditionApplyConfiguration

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

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

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

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

type DependsOnApplyConfiguration

type DependsOnApplyConfiguration struct {
	Targets []string                 `json:"targets,omitempty"`
	Probe   *ProbeApplyConfiguration `json:"probe,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) WithProbe

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

func (*DependsOnApplyConfiguration) WithTargets

WithTargets adds the given value to the Targets 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 Targets field.

type FlowApplyConfiguration

type FlowApplyConfiguration struct {
	Name      *string                      `json:"name,omitempty"`
	DependsOn *DependsOnApplyConfiguration `json:"dependsOn,omitempty"`
}

FlowApplyConfiguration represents an declarative configuration of the Flow type for use with apply.

func Flow

func Flow() *FlowApplyConfiguration

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

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

type HttpGetApplyConfiguration

type HttpGetApplyConfiguration struct {
	TaskName   *string        `json:"taskName,omitempty"`
	Path       *string        `json:"path,omitempty"`
	Port       *int           `json:"port,omitempty"`
	HTTPHeader *v1.HTTPHeader `json:"httpHeader,omitempty"`
}

HttpGetApplyConfiguration represents an declarative configuration of the HttpGet type for use with apply.

func HttpGet

func HttpGet() *HttpGetApplyConfiguration

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

func (*HttpGetApplyConfiguration) WithHTTPHeader

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

func (*HttpGetApplyConfiguration) WithPath

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

func (*HttpGetApplyConfiguration) WithPort

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

func (*HttpGetApplyConfiguration) WithTaskName

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

type JobFlowApplyConfiguration

type JobFlowApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *JobFlowSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *JobFlowStatusApplyConfiguration `json:"status,omitempty"`
}

JobFlowApplyConfiguration represents an declarative configuration of the JobFlow type for use with apply.

func JobFlow

func JobFlow(name, namespace string) *JobFlowApplyConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*JobFlowApplyConfiguration) 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 (*JobFlowApplyConfiguration) 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 (*JobFlowApplyConfiguration) 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 JobFlowSpecApplyConfiguration

type JobFlowSpecApplyConfiguration struct {
	Flows           []FlowApplyConfiguration `json:"flows,omitempty"`
	JobRetainPolicy *string                  `json:"jobRetainPolicy,omitempty"`
}

JobFlowSpecApplyConfiguration represents an declarative configuration of the JobFlowSpec type for use with apply.

func JobFlowSpec

func JobFlowSpec() *JobFlowSpecApplyConfiguration

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

func (*JobFlowSpecApplyConfiguration) WithFlows

WithFlows adds the given value to the Flows 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 Flows field.

func (*JobFlowSpecApplyConfiguration) WithJobRetainPolicy

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

type JobFlowStatusApplyConfiguration

type JobFlowStatusApplyConfiguration struct {
	PendingJobs    []string                               `json:"pendingJobs,omitempty"`
	RunningJobs    []string                               `json:"runningJobs,omitempty"`
	FailedJobs     []string                               `json:"failedJobs,omitempty"`
	CompletedJobs  []string                               `json:"completedJobs,omitempty"`
	TerminatedJobs []string                               `json:"terminatedJobs,omitempty"`
	UnKnowJobs     []string                               `json:"unKnowJobs,omitempty"`
	JobStatusList  []JobStatusApplyConfiguration          `json:"jobStatusList,omitempty"`
	Conditions     map[string]ConditionApplyConfiguration `json:"conditions,omitempty"`
	State          *StateApplyConfiguration               `json:"state,omitempty"`
}

JobFlowStatusApplyConfiguration represents an declarative configuration of the JobFlowStatus type for use with apply.

func JobFlowStatus

func JobFlowStatus() *JobFlowStatusApplyConfiguration

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

func (*JobFlowStatusApplyConfiguration) WithCompletedJobs

WithCompletedJobs adds the given value to the CompletedJobs 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 CompletedJobs field.

func (*JobFlowStatusApplyConfiguration) WithConditions

WithConditions puts the entries into 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, the entries provided by each call will be put on the Conditions field, overwriting an existing map entries in Conditions field with the same key.

func (*JobFlowStatusApplyConfiguration) WithFailedJobs

WithFailedJobs adds the given value to the FailedJobs 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 FailedJobs field.

func (*JobFlowStatusApplyConfiguration) WithJobStatusList

WithJobStatusList adds the given value to the JobStatusList 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 JobStatusList field.

func (*JobFlowStatusApplyConfiguration) WithPendingJobs

WithPendingJobs adds the given value to the PendingJobs 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 PendingJobs field.

func (*JobFlowStatusApplyConfiguration) WithRunningJobs

WithRunningJobs adds the given value to the RunningJobs 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 RunningJobs field.

func (*JobFlowStatusApplyConfiguration) 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 (*JobFlowStatusApplyConfiguration) WithTerminatedJobs

WithTerminatedJobs adds the given value to the TerminatedJobs 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 TerminatedJobs field.

func (*JobFlowStatusApplyConfiguration) WithUnKnowJobs

WithUnKnowJobs adds the given value to the UnKnowJobs 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 UnKnowJobs field.

type JobRunningHistoryApplyConfiguration

type JobRunningHistoryApplyConfiguration struct {
	StartTimestamp *v1.Time           `json:"startTimestamp,omitempty"`
	EndTimestamp   *v1.Time           `json:"endTimestamp,omitempty"`
	State          *v1alpha1.JobPhase `json:"state,omitempty"`
}

JobRunningHistoryApplyConfiguration represents an declarative configuration of the JobRunningHistory type for use with apply.

func JobRunningHistory

func JobRunningHistory() *JobRunningHistoryApplyConfiguration

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

func (*JobRunningHistoryApplyConfiguration) WithEndTimestamp

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

func (*JobRunningHistoryApplyConfiguration) WithStartTimestamp

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

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

type JobStatusApplyConfiguration

type JobStatusApplyConfiguration struct {
	Name             *string                               `json:"name,omitempty"`
	State            *v1alpha1.JobPhase                    `json:"state,omitempty"`
	StartTimestamp   *v1.Time                              `json:"startTimestamp,omitempty"`
	EndTimestamp     *v1.Time                              `json:"endTimestamp,omitempty"`
	RestartCount     *int32                                `json:"restartCount,omitempty"`
	RunningHistories []JobRunningHistoryApplyConfiguration `json:"runningHistories,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) WithEndTimestamp

func (b *JobStatusApplyConfiguration) WithEndTimestamp(value v1.Time) *JobStatusApplyConfiguration

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

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

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

func (*JobStatusApplyConfiguration) WithRunningHistories

WithRunningHistories adds the given value to the RunningHistories 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 RunningHistories field.

func (*JobStatusApplyConfiguration) WithStartTimestamp

func (b *JobStatusApplyConfiguration) WithStartTimestamp(value v1.Time) *JobStatusApplyConfiguration

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

type JobTemplateApplyConfiguration

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

JobTemplateApplyConfiguration represents an declarative configuration of the JobTemplate type for use with apply.

func JobTemplate

func JobTemplate(name, namespace string) *JobTemplateApplyConfiguration

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

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

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

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

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

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

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 (*JobTemplateApplyConfiguration) 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 (*JobTemplateApplyConfiguration) 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 (*JobTemplateApplyConfiguration) 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 JobTemplateStatusApplyConfiguration

type JobTemplateStatusApplyConfiguration struct {
	JobDependsOnList []string `json:"jobDependsOnList,omitempty"`
}

JobTemplateStatusApplyConfiguration represents an declarative configuration of the JobTemplateStatus type for use with apply.

func JobTemplateStatus

func JobTemplateStatus() *JobTemplateStatusApplyConfiguration

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

func (*JobTemplateStatusApplyConfiguration) WithJobDependsOnList

WithJobDependsOnList adds the given value to the JobDependsOnList 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 JobDependsOnList field.

type ProbeApplyConfiguration

type ProbeApplyConfiguration struct {
	HttpGetList    []HttpGetApplyConfiguration    `json:"httpGetList,omitempty"`
	TcpSocketList  []TcpSocketApplyConfiguration  `json:"tcpSocketList,omitempty"`
	TaskStatusList []TaskStatusApplyConfiguration `json:"taskStatusList,omitempty"`
}

ProbeApplyConfiguration represents an declarative configuration of the Probe type for use with apply.

func Probe

func Probe() *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithHttpGetList

WithHttpGetList adds the given value to the HttpGetList 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 HttpGetList field.

func (*ProbeApplyConfiguration) WithTaskStatusList

WithTaskStatusList adds the given value to the TaskStatusList 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 TaskStatusList field.

func (*ProbeApplyConfiguration) WithTcpSocketList

WithTcpSocketList adds the given value to the TcpSocketList 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 TcpSocketList field.

type StateApplyConfiguration

type StateApplyConfiguration struct {
	Phase *v1alpha1.Phase `json:"phase,omitempty"`
}

StateApplyConfiguration represents an declarative configuration of the State type for use with apply.

func State

func State() *StateApplyConfiguration

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

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

type TaskStatusApplyConfiguration

type TaskStatusApplyConfiguration struct {
	TaskName *string `json:"taskName,omitempty"`
	Phase    *string `json:"phase,omitempty"`
}

TaskStatusApplyConfiguration represents an declarative configuration of the TaskStatus type for use with apply.

func TaskStatus

func TaskStatus() *TaskStatusApplyConfiguration

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

func (*TaskStatusApplyConfiguration) 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 (*TaskStatusApplyConfiguration) WithTaskName

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

type TcpSocketApplyConfiguration

type TcpSocketApplyConfiguration struct {
	TaskName *string `json:"taskName,omitempty"`
	Port     *int    `json:"port,omitempty"`
}

TcpSocketApplyConfiguration represents an declarative configuration of the TcpSocket type for use with apply.

func TcpSocket

func TcpSocket() *TcpSocketApplyConfiguration

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

func (*TcpSocketApplyConfiguration) WithPort

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

func (*TcpSocketApplyConfiguration) WithTaskName

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