tasks

package
v0.0.0-...-5e0a7a3 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 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