workflow

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const TaskKindRun = "run"
View Source
const TaskKindTest = "test"
View Source
const ToolKind = "workflow"

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskRun

type TaskRun struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTask `yaml:",inline"`

	Jobs []tools.Action `yaml:"jobs"`
}

func (*TaskRun) GetExecSpecs

func (w *TaskRun) GetExecSpecs(
	rc dukkha.TaskExecContext, options dukkha.TaskMatrixExecOptions,
) ([]dukkha.TaskExecSpec, error)

type TaskTest

type TaskTest struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTask `yaml:",inline"`
}

func (*TaskTest) GetExecSpecs

func (w *TaskTest) GetExecSpecs(
	rc dukkha.TaskExecContext, options dukkha.TaskMatrixExecOptions,
) ([]dukkha.TaskExecSpec, error)

type Tool

type Tool struct {
	rs.BaseField `yaml:"-"`

	tools.BaseTool `yaml:",inline"`
}

func (*Tool) Init

func (t *Tool) Init(kind dukkha.ToolKind, cacheDir string) error

Jump to

Keyboard shortcuts

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