types

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	ToMap() map[string]interface{}
}

Config interface

type ExecExitCode

type ExecExitCode struct {
	Status  uint64
	RunItem RunItem
}

ExecExitCode of stack

type RunItem

type RunItem interface {
	Exec(*sync.WaitGroup, Stack)
}

RunItem interface

type RunItemParser added in v0.6.3

type RunItemParser interface {
	ParseRun(Stack, []interface{}) (output []RunItem)
	ParseRunItem(Stack, interface{}) (output RunItem)
}

RunItemParser interface

type Stack

type Stack interface {
	AddRawVarsLeft(map[string]interface{})
	AddRawVarsRight(map[string]interface{})
	Start(*sync.WaitGroup)
	PreExec(*sync.WaitGroup)
	Exec(*sync.WaitGroup)
	PostExec(*sync.WaitGroup)
	GetAPI() string
	GetLibs() []string
	GetName() string
	GetVars() *StackVars
	GetFlags() *StackFlags
	GetLocals() *StackLocals
	GetRunItemsParser() RunItemParser
	GetView() interface{}
	GetWorkdir() string
	LoadFromFile(string, Stack)
	LoadFromString(string, Stack)
}

Stack interface

type StackExitCode

type StackExitCode struct {
	Status uint64
	Stack  Stack
}

StackExitCode of stack

type StackFlags

type StackFlags struct {
	Vars map[string]interface{}
	Mux  sync.Mutex
}

StackFlags (global vars)

type StackLocals

type StackLocals struct {
	Vars map[string]interface{}
	Mux  sync.Mutex
}

StackLocals (global vars)

type StackVars

type StackVars struct {
	Vars      map[string]interface{}
	Modifiers map[string]interface{}
	Mux       sync.Mutex
}

StackVars type

Jump to

Keyboard shortcuts

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