tasks

package
v0.0.0-...-2fb38fc Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Choice

type Choice struct {
	Value       string
	Name        string
	Description string
}

type Parameters

type Parameters struct {
	Id           string
	Name         string
	Description  string
	Required     bool
	Type         string
	Pattern      string
	ErrorMessage string `yaml:"error_message"`
	Choices      []Choice
}

type Task

type Task struct {
	Id          string
	Name        string
	Description string
	Image       string
	EnvVars     []string `yaml:"env_vars"`
	Parameters  []Parameters
}

func Load

func Load(dir string) ([]Task, error)

Jump to

Keyboard shortcuts

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