workflows

package
v0.0.0-...-363e6e0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Err

func Err[T any](results []StepResult[T]) error

Types

type Opts

type Opts struct {
	Getter         *getter.Getter
	Applier        *applier.Applier
	Deletor        *deletor.Deletor
	Log            logging.Logger
	HelmClient     helmclient.Client
	MaxHelmHistory int
	Namespace      string
}

type StepResult

type StepResult[T any] struct {
	// contains filtered or unexported fields
}

func (*StepResult[T]) Digest

func (r *StepResult[T]) Digest() string

func (*StepResult[T]) Err

func (r *StepResult[T]) Err() error

func (*StepResult[T]) ID

func (r *StepResult[T]) ID() string

func (*StepResult[T]) Result

func (r *StepResult[T]) Result() T

type Workflow

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

func New

func New(opts Opts) (*Workflow, error)

func (*Workflow) Op

func (wf *Workflow) Op(op steps.Op)

func (*Workflow) Run

func (wf *Workflow) Run(ctx context.Context, spec *v1alpha1.WorkflowSpec, skip func(*v1alpha1.Step) bool) (results []StepResult[any])

Directories

Path Synopsis
var

Jump to

Keyboard shortcuts

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