v1alpha2

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoordinatorApplyConfiguration added in v0.6.0

type CoordinatorApplyConfiguration struct {
	ReplicatedJob *string `json:"replicatedJob,omitempty"`
	JobIndex      *int    `json:"jobIndex,omitempty"`
	PodIndex      *int    `json:"podIndex,omitempty"`
}

CoordinatorApplyConfiguration represents a declarative configuration of the Coordinator type for use with apply.

func Coordinator added in v0.6.0

func Coordinator() *CoordinatorApplyConfiguration

CoordinatorApplyConfiguration constructs a declarative configuration of the Coordinator type for use with apply.

func (*CoordinatorApplyConfiguration) WithJobIndex added in v0.6.0

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

func (*CoordinatorApplyConfiguration) WithPodIndex added in v0.6.0

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

func (*CoordinatorApplyConfiguration) WithReplicatedJob added in v0.6.0

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

type FailurePolicyApplyConfiguration

type FailurePolicyApplyConfiguration struct {
	MaxRestarts     *int32                                `json:"maxRestarts,omitempty"`
	RestartStrategy *v1alpha2.JobSetRestartStrategy       `json:"restartStrategy,omitempty"`
	Rules           []FailurePolicyRuleApplyConfiguration `json:"rules,omitempty"`
}

FailurePolicyApplyConfiguration represents a declarative configuration of the FailurePolicy type for use with apply.

func FailurePolicy

func FailurePolicy() *FailurePolicyApplyConfiguration

FailurePolicyApplyConfiguration constructs a declarative configuration of the FailurePolicy type for use with apply.

func (*FailurePolicyApplyConfiguration) WithMaxRestarts

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

func (*FailurePolicyApplyConfiguration) WithRestartStrategy added in v0.7.0

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

func (*FailurePolicyApplyConfiguration) WithRules added in v0.6.0

WithRules adds the given value to the Rules 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 Rules field.

type FailurePolicyRuleApplyConfiguration added in v0.6.0

type FailurePolicyRuleApplyConfiguration struct {
	Name                 *string                       `json:"name,omitempty"`
	Action               *v1alpha2.FailurePolicyAction `json:"action,omitempty"`
	OnJobFailureReasons  []string                      `json:"onJobFailureReasons,omitempty"`
	TargetReplicatedJobs []string                      `json:"targetReplicatedJobs,omitempty"`
}

FailurePolicyRuleApplyConfiguration represents a declarative configuration of the FailurePolicyRule type for use with apply.

func FailurePolicyRule added in v0.6.0

func FailurePolicyRule() *FailurePolicyRuleApplyConfiguration

FailurePolicyRuleApplyConfiguration constructs a declarative configuration of the FailurePolicyRule type for use with apply.

func (*FailurePolicyRuleApplyConfiguration) WithAction added in v0.6.0

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 (*FailurePolicyRuleApplyConfiguration) WithName added in v0.6.0

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 (*FailurePolicyRuleApplyConfiguration) WithOnJobFailureReasons added in v0.6.0

WithOnJobFailureReasons adds the given value to the OnJobFailureReasons 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 OnJobFailureReasons field.

func (*FailurePolicyRuleApplyConfiguration) WithTargetReplicatedJobs added in v0.6.0

func (b *FailurePolicyRuleApplyConfiguration) WithTargetReplicatedJobs(values ...string) *FailurePolicyRuleApplyConfiguration

WithTargetReplicatedJobs adds the given value to the TargetReplicatedJobs 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 TargetReplicatedJobs field.

type JobSetApplyConfiguration

type JobSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *JobSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *JobSetStatusApplyConfiguration `json:"status,omitempty"`
}

JobSetApplyConfiguration represents a declarative configuration of the JobSet type for use with apply.

func JobSet

func JobSet(name, namespace string) *JobSetApplyConfiguration

JobSet constructs a declarative configuration of the JobSet type for use with apply.

func (*JobSetApplyConfiguration) GetName added in v0.7.0

func (b *JobSetApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*JobSetApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*JobSetApplyConfiguration) 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 (*JobSetApplyConfiguration) 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 (*JobSetApplyConfiguration) 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 JobSetSpecApplyConfiguration

type JobSetSpecApplyConfiguration struct {
	ReplicatedJobs          []ReplicatedJobApplyConfiguration `json:"replicatedJobs,omitempty"`
	Network                 *NetworkApplyConfiguration        `json:"network,omitempty"`
	SuccessPolicy           *SuccessPolicyApplyConfiguration  `json:"successPolicy,omitempty"`
	FailurePolicy           *FailurePolicyApplyConfiguration  `json:"failurePolicy,omitempty"`
	StartupPolicy           *StartupPolicyApplyConfiguration  `json:"startupPolicy,omitempty"`
	Suspend                 *bool                             `json:"suspend,omitempty"`
	Coordinator             *CoordinatorApplyConfiguration    `json:"coordinator,omitempty"`
	ManagedBy               *string                           `json:"managedBy,omitempty"`
	TTLSecondsAfterFinished *int32                            `json:"ttlSecondsAfterFinished,omitempty"`
}

JobSetSpecApplyConfiguration represents a declarative configuration of the JobSetSpec type for use with apply.

func JobSetSpec

func JobSetSpec() *JobSetSpecApplyConfiguration

JobSetSpecApplyConfiguration constructs a declarative configuration of the JobSetSpec type for use with apply.

func (*JobSetSpecApplyConfiguration) WithCoordinator added in v0.6.0

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

func (*JobSetSpecApplyConfiguration) WithFailurePolicy

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

func (*JobSetSpecApplyConfiguration) WithManagedBy added in v0.5.0

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

func (*JobSetSpecApplyConfiguration) WithNetwork

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

func (*JobSetSpecApplyConfiguration) WithReplicatedJobs

WithReplicatedJobs adds the given value to the ReplicatedJobs 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 ReplicatedJobs field.

func (*JobSetSpecApplyConfiguration) WithStartupPolicy added in v0.4.0

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

func (*JobSetSpecApplyConfiguration) WithSuccessPolicy

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

func (*JobSetSpecApplyConfiguration) WithSuspend

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

func (*JobSetSpecApplyConfiguration) WithTTLSecondsAfterFinished added in v0.5.0

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

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.

type JobSetStatusApplyConfiguration

type JobSetStatusApplyConfiguration struct {
	Conditions              []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	Restarts                *int32                                  `json:"restarts,omitempty"`
	RestartsCountTowardsMax *int32                                  `json:"restartsCountTowardsMax,omitempty"`
	TerminalState           *string                                 `json:"terminalState,omitempty"`
	ReplicatedJobsStatus    []ReplicatedJobStatusApplyConfiguration `json:"replicatedJobsStatus,omitempty"`
}

JobSetStatusApplyConfiguration represents a declarative configuration of the JobSetStatus type for use with apply.

func JobSetStatus

func JobSetStatus() *JobSetStatusApplyConfiguration

JobSetStatusApplyConfiguration constructs a declarative configuration of the JobSetStatus type for use with apply.

func (*JobSetStatusApplyConfiguration) 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 (*JobSetStatusApplyConfiguration) WithReplicatedJobsStatus

WithReplicatedJobsStatus adds the given value to the ReplicatedJobsStatus 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 ReplicatedJobsStatus field.

func (*JobSetStatusApplyConfiguration) WithRestarts

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

func (*JobSetStatusApplyConfiguration) WithRestartsCountTowardsMax added in v0.6.0

func (b *JobSetStatusApplyConfiguration) WithRestartsCountTowardsMax(value int32) *JobSetStatusApplyConfiguration

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

func (*JobSetStatusApplyConfiguration) WithTerminalState added in v0.6.0

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

type NetworkApplyConfiguration

type NetworkApplyConfiguration struct {
	EnableDNSHostnames       *bool   `json:"enableDNSHostnames,omitempty"`
	Subdomain                *string `json:"subdomain,omitempty"`
	PublishNotReadyAddresses *bool   `json:"publishNotReadyAddresses,omitempty"`
}

NetworkApplyConfiguration represents a declarative configuration of the Network type for use with apply.

func Network

func Network() *NetworkApplyConfiguration

NetworkApplyConfiguration constructs a declarative configuration of the Network type for use with apply.

func (*NetworkApplyConfiguration) WithEnableDNSHostnames

func (b *NetworkApplyConfiguration) WithEnableDNSHostnames(value bool) *NetworkApplyConfiguration

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

func (*NetworkApplyConfiguration) WithPublishNotReadyAddresses added in v0.6.0

func (b *NetworkApplyConfiguration) WithPublishNotReadyAddresses(value bool) *NetworkApplyConfiguration

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

func (*NetworkApplyConfiguration) WithSubdomain

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

type ReplicatedJobApplyConfiguration

type ReplicatedJobApplyConfiguration struct {
	Name     *string             `json:"name,omitempty"`
	Template *v1.JobTemplateSpec `json:"template,omitempty"`
	Replicas *int32              `json:"replicas,omitempty"`
}

ReplicatedJobApplyConfiguration represents a declarative configuration of the ReplicatedJob type for use with apply.

func ReplicatedJob

func ReplicatedJob() *ReplicatedJobApplyConfiguration

ReplicatedJobApplyConfiguration constructs a declarative configuration of the ReplicatedJob type for use with apply.

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

type ReplicatedJobStatusApplyConfiguration

type ReplicatedJobStatusApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	Ready     *int32  `json:"ready,omitempty"`
	Succeeded *int32  `json:"succeeded,omitempty"`
	Failed    *int32  `json:"failed,omitempty"`
	Active    *int32  `json:"active,omitempty"`
	Suspended *int32  `json:"suspended,omitempty"`
}

ReplicatedJobStatusApplyConfiguration represents a declarative configuration of the ReplicatedJobStatus type for use with apply.

func ReplicatedJobStatus

func ReplicatedJobStatus() *ReplicatedJobStatusApplyConfiguration

ReplicatedJobStatusApplyConfiguration constructs a declarative configuration of the ReplicatedJobStatus type for use with apply.

func (*ReplicatedJobStatusApplyConfiguration) WithActive

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

func (*ReplicatedJobStatusApplyConfiguration) 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 (*ReplicatedJobStatusApplyConfiguration) 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 (*ReplicatedJobStatusApplyConfiguration) WithReady

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

func (*ReplicatedJobStatusApplyConfiguration) 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 (*ReplicatedJobStatusApplyConfiguration) WithSuspended added in v0.4.0

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

type StartupPolicyApplyConfiguration added in v0.4.0

type StartupPolicyApplyConfiguration struct {
	StartupPolicyOrder *v1alpha2.StartupPolicyOptions `json:"startupPolicyOrder,omitempty"`
}

StartupPolicyApplyConfiguration represents a declarative configuration of the StartupPolicy type for use with apply.

func StartupPolicy added in v0.4.0

func StartupPolicy() *StartupPolicyApplyConfiguration

StartupPolicyApplyConfiguration constructs a declarative configuration of the StartupPolicy type for use with apply.

func (*StartupPolicyApplyConfiguration) WithStartupPolicyOrder added in v0.4.0

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

type SuccessPolicyApplyConfiguration

type SuccessPolicyApplyConfiguration struct {
	Operator             *v1alpha2.Operator `json:"operator,omitempty"`
	TargetReplicatedJobs []string           `json:"targetReplicatedJobs,omitempty"`
}

SuccessPolicyApplyConfiguration represents a declarative configuration of the SuccessPolicy type for use with apply.

func SuccessPolicy

func SuccessPolicy() *SuccessPolicyApplyConfiguration

SuccessPolicyApplyConfiguration constructs a declarative configuration of the SuccessPolicy type for use with apply.

func (*SuccessPolicyApplyConfiguration) WithOperator

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

func (*SuccessPolicyApplyConfiguration) WithTargetReplicatedJobs

func (b *SuccessPolicyApplyConfiguration) WithTargetReplicatedJobs(values ...string) *SuccessPolicyApplyConfiguration

WithTargetReplicatedJobs adds the given value to the TargetReplicatedJobs 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 TargetReplicatedJobs field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL