workflow

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 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:"-"`

	TaskName string `yaml:"name"`

	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)

func (*TaskRun) Key added in v0.7.0

func (w *TaskRun) Key() dukkha.TaskKey

func (*TaskRun) Kind added in v0.7.0

func (w *TaskRun) Kind() dukkha.TaskKind

func (*TaskRun) Name added in v0.7.0

func (w *TaskRun) Name() dukkha.TaskName

type TaskTest

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

	TaskName string `yaml:"name"`

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

func (*TaskTest) GetExecSpecs

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

func (*TaskTest) Key added in v0.7.0

func (w *TaskTest) Key() dukkha.TaskKey

func (*TaskTest) Kind added in v0.7.0

func (w *TaskTest) Kind() dukkha.TaskKind

func (*TaskTest) Name added in v0.7.0

func (w *TaskTest) Name() dukkha.TaskName

type Tool

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

	ToolName dukkha.ToolName `yaml:"name"`

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

func (*Tool) Init

func (t *Tool) Init(cacheFS *fshelper.OSFS) error

func (*Tool) Key added in v0.7.0

func (t *Tool) Key() dukkha.ToolKey

func (*Tool) Kind added in v0.7.0

func (t *Tool) Kind() dukkha.ToolKind

func (*Tool) Name added in v0.7.0

func (t *Tool) Name() dukkha.ToolName

Jump to

Keyboard shortcuts

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