v1alpha1

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJobSink added in v0.42.0

func NewJobSink(name, namespace string, o ...JobSinkOption) *sinksv1alpha1.JobSink

NewJobSink creates a JobSink with JobSinkOptions.

func WithInitJobSinkConditions added in v0.42.0

func WithInitJobSinkConditions(js *sinksv1alpha1.JobSink)

WithInitJobSinkConditions initializes the JobSink's conditions.

Types

type JobSinkOption added in v0.42.0

type JobSinkOption func(*sinksv1alpha1.JobSink)

JobSinkOption enables further configuration of a JobSink.

func WithJobSinkAddress added in v0.42.0

func WithJobSinkAddress(addr *duckv1.Addressable) JobSinkOption

func WithJobSinkAddressableReady added in v0.42.0

func WithJobSinkAddressableReady() JobSinkOption

func WithJobSinkEventPoliciesListed added in v0.42.0

func WithJobSinkEventPoliciesListed(policyNames ...string) JobSinkOption

WithJobSinkEventPoliciesListed adds Ready EventPolicies to the JobSink's status.

func WithJobSinkEventPoliciesNotReady added in v0.42.0

func WithJobSinkEventPoliciesNotReady(reason, message string) JobSinkOption

WithJobSinkEventPoliciesNotReady sets the JobSink's EventPoliciesReady condition to false.

func WithJobSinkEventPoliciesReady added in v0.42.0

func WithJobSinkEventPoliciesReady() JobSinkOption

WithJobSinkEventPoliciesReady sets the JobSink's EventPoliciesReady condition to true.

func WithJobSinkEventPoliciesReadyBecauseNoPolicyAndOIDCEnabled added in v0.42.0

func WithJobSinkEventPoliciesReadyBecauseNoPolicyAndOIDCEnabled() JobSinkOption

WithJobSinkEventPoliciesReadyBecauseNoPolicyAndOIDCEnabled() sets the JobSink's EventPoliciesReady condition to true with reason.

func WithJobSinkEventPoliciesReadyBecauseOIDCDisabled added in v0.42.0

func WithJobSinkEventPoliciesReadyBecauseOIDCDisabled() JobSinkOption

WithJobSinkEventPoliciesReadyBecauseNoPolicy() sets the JobSink's EventPoliciesReady condition to true with reason.

func WithJobSinkFinalizers added in v0.42.0

func WithJobSinkFinalizers(finalizers ...string) JobSinkOption

func WithJobSinkGeneration added in v0.42.0

func WithJobSinkGeneration(gen int64) JobSinkOption

func WithJobSinkJob added in v0.42.0

func WithJobSinkJob(job *batchv1.Job) JobSinkOption

WithJobSinkJob sets the JobSink's Job.

func WithJobSinkJobStatusSelector added in v0.42.0

func WithJobSinkJobStatusSelector() JobSinkOption

func WithJobSinkResourceVersion added in v0.42.0

func WithJobSinkResourceVersion(rv string) JobSinkOption

Jump to

Keyboard shortcuts

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