executor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Name      string `yaml:"name"`
	Image     string `yaml:"image"`
	Timeout   int    `yaml:"timeout"`
	Command   string `yaml:"command"`
	OnTimeout string `yaml:"on-timeout"`
	OnFailure string `yaml:"on-failure"`
}

Action represents an action to be executed as part of a task

type Task

type Task struct {
	Name    string   `yaml:"name"`
	Worker  string   `yaml:"worker"`
	Actions []Action `yaml:"actions"`
}

Task represents a task to be executed as part of a workflow

type Workflow

type Workflow struct {
	Version       string `yaml:"version"`
	Name          string `yaml:"name"`
	GlobalTimeout int    `yaml:"global_timeout"`
	Tasks         []Task `yaml:"tasks"`
}

Workflow represents a workflow to be executed

Jump to

Keyboard shortcuts

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