workflow

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Project        = "orkestra"
	OwnershipLabel = "owner"
	HeritageLabel  = "heritage"
)

Variables

View Source
var (
	ErrNamespaceTerminating = kerrors.New("namespace is in terminating phase")
)

Functions

func Argo

func Argo(scheme *runtime.Scheme, c client.Client, stagingRepoURL string) *argo

Argo implements the Workflow interface for the Argo Workflow based DAG engine

Types

type Engine

type Engine interface {
	// Generate the object required by the workflow engine
	Generate(ctx context.Context, l logr.Logger, ns string, g *v1alpha1.ApplicationGroup) error
	// Submit the object required by the workflow engine generated by the Generate method
	Submit(ctx context.Context, l logr.Logger, g *v1alpha1.ApplicationGroup) error
}

Jump to

Keyboard shortcuts

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