Documentation ¶
Index ¶
- type Flow
- type FlowRun
- type FlowRunParams
- type Input
- type Resolver
- type Scope
- type ScopedFlow
- func (e ScopedFlow) Current() *Flow
- func (e ScopedFlow) FindFlowByPathComponents(components []string) (*ScopedFlow, error)
- func (e ScopedFlow) GetName() string
- func (e ScopedFlow) Path() string
- func (e ScopedFlow) Scope() *Scope
- func (e ScopedFlow) ScopeInString() string
- func (e ScopedFlow) String() string
- type Stack
- type StepRunContext
- type StepRunParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow struct { Name string `yaml:"name,omitempty"` Inputs []Input `yaml:"inputs,omitempty"` // i.e. symbol table Tasks []Flow `yaml:"tasks,omitempty"` Script string `yaml:"script,omitempty"` Env map[string]string `yaml:"env,omitempty"` }
func (Flow) AsRoot ¶
func (f Flow) AsRoot() *ScopedFlow
func (Flow) FindExprAtPath ¶
func (f Flow) FindExprAtPath(path string) (*ScopedFlow, error)
func (Flow) FindFlowByPathComponents ¶
func (f Flow) FindFlowByPathComponents(components []string) (*ScopedFlow, error)
type FlowRun ¶
type FlowRun struct { Target Flow Params FlowRunParams }
type FlowRunParams ¶
type FlowRunParams struct {
Caller *Flow
}
type Resolver ¶
type Resolver interface { GetName() string FindExprAtPath(path string) (*ScopedFlow, error) }
type Scope ¶
type Scope struct {
// contains filtered or unexported fields
}
func NewScope ¶
func NewScope(tasksInScope []*ScopedFlow) *Scope
func (Scope) FindFlowAtPath ¶
func (s Scope) FindFlowAtPath(path string) (*ScopedFlow, error)
type ScopedFlow ¶
type ScopedFlow struct {
Stack *Stack
}
func NewScopedFlow ¶
func NewScopedFlow(stack *Stack) *ScopedFlow
func (ScopedFlow) Current ¶
func (e ScopedFlow) Current() *Flow
func (ScopedFlow) FindFlowByPathComponents ¶
func (e ScopedFlow) FindFlowByPathComponents(components []string) (*ScopedFlow, error)
func (ScopedFlow) GetName ¶
func (e ScopedFlow) GetName() string
func (ScopedFlow) Path ¶
func (e ScopedFlow) Path() string
func (ScopedFlow) Scope ¶
func (e ScopedFlow) Scope() *Scope
func (ScopedFlow) ScopeInString ¶
func (e ScopedFlow) ScopeInString() string
func (ScopedFlow) String ¶
func (e ScopedFlow) String() string
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
func NewStackFromTasks ¶
func (*Stack) FromBottom ¶
type StepRunContext ¶
type StepRunContext struct {
FlowRun FlowRun
}
type StepRunParams ¶
type StepRunParams struct {
Context StepRunContext
}
Click to show internal directories.
Click to hide internal directories.