workflow

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 4 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.Actions `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