workflow

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket added in v0.0.7

type Bucket struct {
	Name        string
	Description string
	Workflows   []config.Workflow
	Callbacks   api.Callbacks
}

type Runtime

type Runtime struct {
	Config    config.Runtime
	Templater Templater
}

func (*Runtime) Execute

func (r *Runtime) Execute(interactive bool, command string, stdin io.Reader, stdout, stderr *bytes.Buffer) error

func (*Runtime) GetCommand added in v0.0.6

func (r *Runtime) GetCommand(interactive bool, cmd string) (string, error)

type Templater added in v0.0.7

type Templater func(input string) (string, error)

type Workflow added in v0.0.7

type Workflow struct {
	Name        string
	Description string
	Inputs      []config.Input
	Steps       []config.Step
	Runtimes    []config.Runtime
	Callbacks   api.Callbacks
}

func (*Workflow) Execute added in v0.0.7

func (workflow *Workflow) Execute() error

func (*Workflow) GetRuntime added in v0.0.7

func (workflow *Workflow) GetRuntime(name string) (*Runtime, error)

Jump to

Keyboard shortcuts

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