workflow

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileConfigure

func ReconcileConfigure(opts Opts) (bool, error)

func ReconcileDelete

func ReconcileDelete(opts Opts) (bool, error)

TODO refactor

Types

type Opts

type Opts struct {

	//TODO make this field private too? or everything public and no constructor func
	Pipelines []Pipeline
	// contains filtered or unexported fields
}

func NewOpts

func NewOpts(ctx context.Context, client client.Client, logger logr.Logger, parentObj *unstructured.Unstructured, pipelines []Pipeline, source string) Opts

type Pipeline

type Pipeline struct {
	Name string
	Job  *batchv1.Job
	// ServiceAccount, Role, Rolebinding, ConfigMap etc (differs for delete vs configure)
	JobRequiredResources []client.Object
}

Jump to

Keyboard shortcuts

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