Documentation ¶
Index ¶
- type ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithCreateTimestamp(value v1.Time) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithPhase(value v1alpha1.JobPhase) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithRunningDuration(value v1.Duration) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithTaskStatusCount(entries map[string]batchv1alpha1.TaskStateApplyConfiguration) *ConditionApplyConfiguration
- type DependsOnApplyConfiguration
- type FlowApplyConfiguration
- type HttpGetApplyConfiguration
- func (b *HttpGetApplyConfiguration) WithHTTPHeader(value v1.HTTPHeader) *HttpGetApplyConfiguration
- func (b *HttpGetApplyConfiguration) WithPath(value string) *HttpGetApplyConfiguration
- func (b *HttpGetApplyConfiguration) WithPort(value int) *HttpGetApplyConfiguration
- func (b *HttpGetApplyConfiguration) WithTaskName(value string) *HttpGetApplyConfiguration
- type JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithAPIVersion(value string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithAnnotations(entries map[string]string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithCreationTimestamp(value metav1.Time) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithFinalizers(values ...string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithGenerateName(value string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithGeneration(value int64) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithKind(value string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithLabels(entries map[string]string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithName(value string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithNamespace(value string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithResourceVersion(value string) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithSpec(value *JobFlowSpecApplyConfiguration) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithStatus(value *JobFlowStatusApplyConfiguration) *JobFlowApplyConfiguration
- func (b *JobFlowApplyConfiguration) WithUID(value types.UID) *JobFlowApplyConfiguration
- type JobFlowSpecApplyConfiguration
- type JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithCompletedJobs(values ...string) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithConditions(entries map[string]ConditionApplyConfiguration) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithFailedJobs(values ...string) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithJobStatusList(values ...*JobStatusApplyConfiguration) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithPendingJobs(values ...string) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithRunningJobs(values ...string) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithState(value *StateApplyConfiguration) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithTerminatedJobs(values ...string) *JobFlowStatusApplyConfiguration
- func (b *JobFlowStatusApplyConfiguration) WithUnKnowJobs(values ...string) *JobFlowStatusApplyConfiguration
- type JobRunningHistoryApplyConfiguration
- func (b *JobRunningHistoryApplyConfiguration) WithEndTimestamp(value v1.Time) *JobRunningHistoryApplyConfiguration
- func (b *JobRunningHistoryApplyConfiguration) WithStartTimestamp(value v1.Time) *JobRunningHistoryApplyConfiguration
- func (b *JobRunningHistoryApplyConfiguration) WithState(value v1alpha1.JobPhase) *JobRunningHistoryApplyConfiguration
- type JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithEndTimestamp(value v1.Time) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithName(value string) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithRestartCount(value int32) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithRunningHistories(values ...*JobRunningHistoryApplyConfiguration) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithStartTimestamp(value v1.Time) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithState(value v1alpha1.JobPhase) *JobStatusApplyConfiguration
- type JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithAPIVersion(value string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithFinalizers(values ...string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithGenerateName(value string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithGeneration(value int64) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithKind(value string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithLabels(entries map[string]string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithName(value string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithNamespace(value string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithResourceVersion(value string) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithSpec(value *v1alpha1.JobSpecApplyConfiguration) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithStatus(value *JobTemplateStatusApplyConfiguration) *JobTemplateApplyConfiguration
- func (b *JobTemplateApplyConfiguration) WithUID(value types.UID) *JobTemplateApplyConfiguration
- type JobTemplateStatusApplyConfiguration
- type ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithHttpGetList(values ...*HttpGetApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithTaskStatusList(values ...*TaskStatusApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithTcpSocketList(values ...*TcpSocketApplyConfiguration) *ProbeApplyConfiguration
- type StateApplyConfiguration
- type TaskStatusApplyConfiguration
- type TcpSocketApplyConfiguration
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 ¶
func (b *ConditionApplyConfiguration) WithPhase(value v1alpha1.JobPhase) *ConditionApplyConfiguration
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 ¶
func (b *ConditionApplyConfiguration) WithTaskStatusCount(entries map[string]batchv1alpha1.TaskStateApplyConfiguration) *ConditionApplyConfiguration
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 ¶
func (b *DependsOnApplyConfiguration) WithProbe(value *ProbeApplyConfiguration) *DependsOnApplyConfiguration
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 ¶
func (b *DependsOnApplyConfiguration) WithTargets(values ...string) *DependsOnApplyConfiguration
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 ¶
func (b *FlowApplyConfiguration) WithDependsOn(value *DependsOnApplyConfiguration) *FlowApplyConfiguration
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 ¶
func (b *FlowApplyConfiguration) WithName(value string) *FlowApplyConfiguration
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 ¶
func (b *HttpGetApplyConfiguration) WithHTTPHeader(value v1.HTTPHeader) *HttpGetApplyConfiguration
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 ¶
func (b *HttpGetApplyConfiguration) WithPath(value string) *HttpGetApplyConfiguration
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 ¶
func (b *HttpGetApplyConfiguration) WithPort(value int) *HttpGetApplyConfiguration
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 ¶
func (b *HttpGetApplyConfiguration) WithTaskName(value string) *HttpGetApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithAPIVersion(value string) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithKind(value string) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithLabels(entries map[string]string) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithName(value string) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithNamespace(value string) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithSpec(value *JobFlowSpecApplyConfiguration) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithStatus(value *JobFlowStatusApplyConfiguration) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowApplyConfiguration) WithUID(value types.UID) *JobFlowApplyConfiguration
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 ¶
func (b *JobFlowSpecApplyConfiguration) WithFlows(values ...*FlowApplyConfiguration) *JobFlowSpecApplyConfiguration
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 ¶
func (b *JobFlowSpecApplyConfiguration) WithJobRetainPolicy(value string) *JobFlowSpecApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithCompletedJobs(values ...string) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithConditions(entries map[string]ConditionApplyConfiguration) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithFailedJobs(values ...string) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithJobStatusList(values ...*JobStatusApplyConfiguration) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithPendingJobs(values ...string) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithRunningJobs(values ...string) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithState(value *StateApplyConfiguration) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithTerminatedJobs(values ...string) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobFlowStatusApplyConfiguration) WithUnKnowJobs(values ...string) *JobFlowStatusApplyConfiguration
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 ¶
func (b *JobRunningHistoryApplyConfiguration) WithEndTimestamp(value v1.Time) *JobRunningHistoryApplyConfiguration
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 ¶
func (b *JobRunningHistoryApplyConfiguration) WithStartTimestamp(value v1.Time) *JobRunningHistoryApplyConfiguration
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 ¶
func (b *JobRunningHistoryApplyConfiguration) WithState(value v1alpha1.JobPhase) *JobRunningHistoryApplyConfiguration
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 ¶
func (b *JobStatusApplyConfiguration) WithName(value string) *JobStatusApplyConfiguration
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 ¶
func (b *JobStatusApplyConfiguration) WithRestartCount(value int32) *JobStatusApplyConfiguration
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 ¶
func (b *JobStatusApplyConfiguration) WithRunningHistories(values ...*JobRunningHistoryApplyConfiguration) *JobStatusApplyConfiguration
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 ¶
func (b *JobStatusApplyConfiguration) WithState(value v1alpha1.JobPhase) *JobStatusApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithAPIVersion(value string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithFinalizers(values ...string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithGenerateName(value string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithGeneration(value int64) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithKind(value string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithLabels(entries map[string]string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithName(value string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithNamespace(value string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithResourceVersion(value string) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithSpec(value *v1alpha1.JobSpecApplyConfiguration) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithStatus(value *JobTemplateStatusApplyConfiguration) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateApplyConfiguration) WithUID(value types.UID) *JobTemplateApplyConfiguration
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 ¶
func (b *JobTemplateStatusApplyConfiguration) WithJobDependsOnList(values ...string) *JobTemplateStatusApplyConfiguration
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 ¶
func (b *ProbeApplyConfiguration) WithHttpGetList(values ...*HttpGetApplyConfiguration) *ProbeApplyConfiguration
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 ¶
func (b *ProbeApplyConfiguration) WithTaskStatusList(values ...*TaskStatusApplyConfiguration) *ProbeApplyConfiguration
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 ¶
func (b *ProbeApplyConfiguration) WithTcpSocketList(values ...*TcpSocketApplyConfiguration) *ProbeApplyConfiguration
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 ¶
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 ¶
func (b *StateApplyConfiguration) WithPhase(value v1alpha1.Phase) *StateApplyConfiguration
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 ¶
func (b *TaskStatusApplyConfiguration) WithPhase(value string) *TaskStatusApplyConfiguration
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 ¶
func (b *TaskStatusApplyConfiguration) WithTaskName(value string) *TaskStatusApplyConfiguration
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 ¶
func (b *TcpSocketApplyConfiguration) WithPort(value int) *TcpSocketApplyConfiguration
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 ¶
func (b *TcpSocketApplyConfiguration) WithTaskName(value string) *TcpSocketApplyConfiguration
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.