workflow

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

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, 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
}

type Graph added in v0.3.0

type Graph struct {
	// contains filtered or unexported fields
}

func Build added in v0.3.0

func Build(entry string, nodes map[string]v1alpha12.NodeStatus) (*Graph, error)

func (*Graph) Reverse added in v0.3.0

func (g *Graph) Reverse() [][]helmopv1.HelmRelease

type Node added in v0.3.0

type Node struct {
	Status v1alpha12.NodeStatus
	Level  int
}

Jump to

Keyboard shortcuts

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