types

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OnFailure
	OnFailureExit     = "exit"
	OnFailureRepeat   = "repeat"
	OnFailureContinue = "continue"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RawTemplate

type RawTemplate struct {
	Name      string               `yaml:"name"`
	FileName  string               `yaml:"-"`
	RawString string               `yaml:"-"`
	Variables variableTY.Variables `yaml:"variables"`
}

type Store

type Store struct {
	Key    string `yaml:"key"`
	Query  string `yaml:"query"`
	Format string `yaml:"format"`
}

type Task

type Task struct {
	Name        string                 `yaml:"name"`
	Description string                 `yaml:"description"`
	Template    string                 `yaml:"template"`
	OnFailure   string                 `yaml:"on_failure"`
	Provider    string                 `yaml:"provider"`
	Input       map[string]interface{} `yaml:"input"`
	Store       []Store                `yaml:"store"`
}

type Template

type Template struct {
	Name        string               `yaml:"name"`
	Description string               `yaml:"description"`
	Variables   variableTY.Variables `yaml:"variables"`
	Tasks       []Task               `yaml:"tasks"`
}

type TemplatePre

type TemplatePre struct {
	Name        string               `yaml:"name"`
	Description string               `yaml:"description"`
	Variables   variableTY.Variables `yaml:"variables"`
}

TemplatePre used to fetch variables before applying the template

Jump to

Keyboard shortcuts

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