Documentation ¶
Index ¶
- func NewModuleInterpreter(interpreter conflow.BlockInterpreter, node parsley.Node) conflow.BlockInterpreter
- type Basic
- type BasicInterpreter
- func (i BasicInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BasicInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BasicInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BasicInterpreter) Schema() schema.Schema
- func (i BasicInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BasicInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BasicInterpreter) ValueParamName() conflow.ID
- type Exec
- type ExecInterpreter
- func (i ExecInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ExecInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ExecInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ExecInterpreter) Schema() schema.Schema
- func (i ExecInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ExecInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ExecInterpreter) ValueParamName() conflow.ID
- type Fail
- type FailInterpreter
- func (i FailInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i FailInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i FailInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i FailInterpreter) Schema() schema.Schema
- func (i FailInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i FailInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i FailInterpreter) ValueParamName() conflow.ID
- type Gunzip
- type GunzipInterpreter
- func (i GunzipInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i GunzipInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i GunzipInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i GunzipInterpreter) Schema() schema.Schema
- func (i GunzipInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i GunzipInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i GunzipInterpreter) ValueParamName() conflow.ID
- type Gzip
- type GzipInterpreter
- func (i GzipInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i GzipInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i GzipInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i GzipInterpreter) Schema() schema.Schema
- func (i GzipInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i GzipInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i GzipInterpreter) ValueParamName() conflow.ID
- type Import
- type ImportInterpreter
- func (i ImportInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ImportInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ImportInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ImportInterpreter) Schema() schema.Schema
- func (i ImportInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ImportInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ImportInterpreter) ValueParamName() conflow.ID
- type It
- type ItInterpreter
- func (i ItInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ItInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ItInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ItInterpreter) Schema() schema.Schema
- func (i ItInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ItInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ItInterpreter) ValueParamName() conflow.ID
- type Iterator
- type IteratorInterpreter
- func (i IteratorInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i IteratorInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i IteratorInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i IteratorInterpreter) Schema() schema.Schema
- func (i IteratorInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i IteratorInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i IteratorInterpreter) ValueParamName() conflow.ID
- type Line
- type LineInterpreter
- func (i LineInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i LineInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i LineInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i LineInterpreter) Schema() schema.Schema
- func (i LineInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i LineInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i LineInterpreter) ValueParamName() conflow.ID
- type LineScanner
- type LineScannerInterpreter
- func (i LineScannerInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i LineScannerInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i LineScannerInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i LineScannerInterpreter) Schema() schema.Schema
- func (i LineScannerInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i LineScannerInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i LineScannerInterpreter) ValueParamName() conflow.ID
- type Main
- type MainInterpreter
- func (m MainInterpreter) CreateBlock(conflow.ID, *conflow.BlockContext) conflow.Block
- func (m MainInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (m MainInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (m MainInterpreter) Schema() schema.Schema
- func (m MainInterpreter) SetBlock(b conflow.Block, name conflow.ID, key string, value interface{}) error
- func (m MainInterpreter) SetParam(b conflow.Block, name conflow.ID, value interface{}) error
- func (m MainInterpreter) ValueParamName() conflow.ID
- type Print
- type PrintInterpreter
- func (i PrintInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i PrintInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i PrintInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i PrintInterpreter) Schema() schema.Schema
- func (i PrintInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i PrintInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i PrintInterpreter) ValueParamName() conflow.ID
- type Println
- type PrintlnInterpreter
- func (i PrintlnInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i PrintlnInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i PrintlnInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i PrintlnInterpreter) Schema() schema.Schema
- func (i PrintlnInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i PrintlnInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i PrintlnInterpreter) ValueParamName() conflow.ID
- type Sleep
- type SleepInterpreter
- func (i SleepInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i SleepInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i SleepInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i SleepInterpreter) Schema() schema.Schema
- func (i SleepInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i SleepInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i SleepInterpreter) ValueParamName() conflow.ID
- type Stream
- type StreamInterpreter
- func (i StreamInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i StreamInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i StreamInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i StreamInterpreter) Schema() schema.Schema
- func (i StreamInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i StreamInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i StreamInterpreter) ValueParamName() conflow.ID
- type Tick
- type TickInterpreter
- func (i TickInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i TickInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i TickInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i TickInterpreter) Schema() schema.Schema
- func (i TickInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i TickInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i TickInterpreter) ValueParamName() conflow.ID
- type Ticker
- type TickerInterpreter
- func (i TickerInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i TickerInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i TickerInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i TickerInterpreter) Schema() schema.Schema
- func (i TickerInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i TickerInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i TickerInterpreter) ValueParamName() conflow.ID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewModuleInterpreter ¶
func NewModuleInterpreter( interpreter conflow.BlockInterpreter, node parsley.Node, ) conflow.BlockInterpreter
NewModuleInterpreter creates a new interpreter for a module
Types ¶
type BasicInterpreter ¶
type BasicInterpreter struct { }
BasicInterpreter is the Conflow interpreter for the Basic block
func (BasicInterpreter) CreateBlock ¶
func (i BasicInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Basic block
func (BasicInterpreter) Param ¶
func (i BasicInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BasicInterpreter) ParseContext ¶
func (i BasicInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BasicInterpreter) Schema ¶
func (i BasicInterpreter) Schema() schema.Schema
func (BasicInterpreter) ValueParamName ¶
func (i BasicInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Exec ¶
type Exec struct {
// contains filtered or unexported fields
}
@block "task"
func (*Exec) ParseContextOverride ¶
func (e *Exec) ParseContextOverride() conflow.ParseContextOverride
type ExecInterpreter ¶
type ExecInterpreter struct { }
ExecInterpreter is the Conflow interpreter for the Exec block
func (ExecInterpreter) CreateBlock ¶
func (i ExecInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Exec block
func (ExecInterpreter) Param ¶
func (i ExecInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ExecInterpreter) ParseContext ¶
func (i ExecInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ExecInterpreter) Schema ¶
func (i ExecInterpreter) Schema() schema.Schema
func (ExecInterpreter) ValueParamName ¶
func (i ExecInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type FailInterpreter ¶
type FailInterpreter struct { }
FailInterpreter is the Conflow interpreter for the Fail block
func (FailInterpreter) CreateBlock ¶
func (i FailInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Fail block
func (FailInterpreter) Param ¶
func (i FailInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (FailInterpreter) ParseContext ¶
func (i FailInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (FailInterpreter) Schema ¶
func (i FailInterpreter) Schema() schema.Schema
func (FailInterpreter) ValueParamName ¶
func (i FailInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Gunzip ¶
type Gunzip struct {
// contains filtered or unexported fields
}
@block "task"
func (*Gunzip) ParseContextOverride ¶
func (g *Gunzip) ParseContextOverride() conflow.ParseContextOverride
type GunzipInterpreter ¶
type GunzipInterpreter struct { }
GunzipInterpreter is the Conflow interpreter for the Gunzip block
func (GunzipInterpreter) CreateBlock ¶
func (i GunzipInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Gunzip block
func (GunzipInterpreter) Param ¶
func (i GunzipInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (GunzipInterpreter) ParseContext ¶
func (i GunzipInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (GunzipInterpreter) Schema ¶
func (i GunzipInterpreter) Schema() schema.Schema
func (GunzipInterpreter) ValueParamName ¶
func (i GunzipInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Gzip ¶
type Gzip struct {
// contains filtered or unexported fields
}
@block "task"
func (*Gzip) ParseContextOverride ¶
func (g *Gzip) ParseContextOverride() conflow.ParseContextOverride
type GzipInterpreter ¶
type GzipInterpreter struct { }
GzipInterpreter is the Conflow interpreter for the Gzip block
func (GzipInterpreter) CreateBlock ¶
func (i GzipInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Gzip block
func (GzipInterpreter) Param ¶
func (i GzipInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (GzipInterpreter) ParseContext ¶
func (i GzipInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (GzipInterpreter) Schema ¶
func (i GzipInterpreter) Schema() schema.Schema
func (GzipInterpreter) ValueParamName ¶
func (i GzipInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Import ¶
type Import struct {
// contains filtered or unexported fields
}
@block { type = "task" eval_stage = "parse" }
func (*Import) BlockInterpreters ¶
func (i *Import) BlockInterpreters(parseCtx *conflow.ParseContext) (map[conflow.ID]conflow.BlockInterpreter, error)
type ImportInterpreter ¶
type ImportInterpreter struct { }
ImportInterpreter is the Conflow interpreter for the Import block
func (ImportInterpreter) CreateBlock ¶
func (i ImportInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Import block
func (ImportInterpreter) Param ¶
func (i ImportInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ImportInterpreter) ParseContext ¶
func (i ImportInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ImportInterpreter) Schema ¶
func (i ImportInterpreter) Schema() schema.Schema
func (ImportInterpreter) ValueParamName ¶
func (i ImportInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type ItInterpreter ¶
type ItInterpreter struct { }
ItInterpreter is the Conflow interpreter for the It block
func (ItInterpreter) CreateBlock ¶
func (i ItInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new It block
func (ItInterpreter) Param ¶
func (i ItInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ItInterpreter) ParseContext ¶
func (i ItInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ItInterpreter) Schema ¶
func (i ItInterpreter) Schema() schema.Schema
func (ItInterpreter) ValueParamName ¶
func (i ItInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
@block "generator"
func (*Iterator) ParseContextOverride ¶
func (i *Iterator) ParseContextOverride() conflow.ParseContextOverride
type IteratorInterpreter ¶
type IteratorInterpreter struct { }
IteratorInterpreter is the Conflow interpreter for the Iterator block
func (IteratorInterpreter) CreateBlock ¶
func (i IteratorInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Iterator block
func (IteratorInterpreter) Param ¶
func (i IteratorInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (IteratorInterpreter) ParseContext ¶
func (i IteratorInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (IteratorInterpreter) Schema ¶
func (i IteratorInterpreter) Schema() schema.Schema
func (IteratorInterpreter) ValueParamName ¶
func (i IteratorInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type LineInterpreter ¶
type LineInterpreter struct { }
LineInterpreter is the Conflow interpreter for the Line block
func (LineInterpreter) CreateBlock ¶
func (i LineInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Line block
func (LineInterpreter) Param ¶
func (i LineInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (LineInterpreter) ParseContext ¶
func (i LineInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (LineInterpreter) Schema ¶
func (i LineInterpreter) Schema() schema.Schema
func (LineInterpreter) ValueParamName ¶
func (i LineInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type LineScanner ¶
type LineScanner struct {
// contains filtered or unexported fields
}
@block "generator"
func (*LineScanner) ID ¶
func (l *LineScanner) ID() conflow.ID
func (*LineScanner) ParseContextOverride ¶
func (l *LineScanner) ParseContextOverride() conflow.ParseContextOverride
type LineScannerInterpreter ¶
type LineScannerInterpreter struct { }
LineScannerInterpreter is the Conflow interpreter for the LineScanner block
func (LineScannerInterpreter) CreateBlock ¶
func (i LineScannerInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new LineScanner block
func (LineScannerInterpreter) Param ¶
func (i LineScannerInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (LineScannerInterpreter) ParseContext ¶
func (i LineScannerInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (LineScannerInterpreter) Schema ¶
func (i LineScannerInterpreter) Schema() schema.Schema
func (LineScannerInterpreter) ValueParamName ¶
func (i LineScannerInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type MainInterpreter ¶
type MainInterpreter struct { BlockTransformerRegistry parsley.NodeTransformerRegistry FunctionTransformerRegistry parsley.NodeTransformerRegistry }
func (MainInterpreter) CreateBlock ¶
func (m MainInterpreter) CreateBlock(conflow.ID, *conflow.BlockContext) conflow.Block
func (MainInterpreter) Param ¶
func (m MainInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (MainInterpreter) ParseContext ¶
func (m MainInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
func (MainInterpreter) Schema ¶
func (m MainInterpreter) Schema() schema.Schema
func (MainInterpreter) ValueParamName ¶
func (m MainInterpreter) ValueParamName() conflow.ID
type Print ¶
type Print struct {
// contains filtered or unexported fields
}
Print will write a string to the standard output @block "task"
type PrintInterpreter ¶
type PrintInterpreter struct { }
PrintInterpreter is the Conflow interpreter for the Print block
func (PrintInterpreter) CreateBlock ¶
func (i PrintInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Print block
func (PrintInterpreter) Param ¶
func (i PrintInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (PrintInterpreter) ParseContext ¶
func (i PrintInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (PrintInterpreter) Schema ¶
func (i PrintInterpreter) Schema() schema.Schema
func (PrintInterpreter) ValueParamName ¶
func (i PrintInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Println ¶
type Println struct {
// contains filtered or unexported fields
}
Println will write a string followed by a new line to the standard output @block "task"
type PrintlnInterpreter ¶
type PrintlnInterpreter struct { }
PrintlnInterpreter is the Conflow interpreter for the Println block
func (PrintlnInterpreter) CreateBlock ¶
func (i PrintlnInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Println block
func (PrintlnInterpreter) Param ¶
func (i PrintlnInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (PrintlnInterpreter) ParseContext ¶
func (i PrintlnInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (PrintlnInterpreter) Schema ¶
func (i PrintlnInterpreter) Schema() schema.Schema
func (PrintlnInterpreter) ValueParamName ¶
func (i PrintlnInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type SleepInterpreter ¶
type SleepInterpreter struct { }
SleepInterpreter is the Conflow interpreter for the Sleep block
func (SleepInterpreter) CreateBlock ¶
func (i SleepInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Sleep block
func (SleepInterpreter) Param ¶
func (i SleepInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (SleepInterpreter) ParseContext ¶
func (i SleepInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (SleepInterpreter) Schema ¶
func (i SleepInterpreter) Schema() schema.Schema
func (SleepInterpreter) ValueParamName ¶
func (i SleepInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Stream ¶
type Stream struct { Stream io.ReadCloser // contains filtered or unexported fields }
@block "configuration"
type StreamInterpreter ¶
type StreamInterpreter struct { }
StreamInterpreter is the Conflow interpreter for the Stream block
func (StreamInterpreter) CreateBlock ¶
func (i StreamInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Stream block
func (StreamInterpreter) Param ¶
func (i StreamInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (StreamInterpreter) ParseContext ¶
func (i StreamInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (StreamInterpreter) Schema ¶
func (i StreamInterpreter) Schema() schema.Schema
func (StreamInterpreter) ValueParamName ¶
func (i StreamInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type TickInterpreter ¶
type TickInterpreter struct { }
TickInterpreter is the Conflow interpreter for the Tick block
func (TickInterpreter) CreateBlock ¶
func (i TickInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Tick block
func (TickInterpreter) Param ¶
func (i TickInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (TickInterpreter) ParseContext ¶
func (i TickInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (TickInterpreter) Schema ¶
func (i TickInterpreter) Schema() schema.Schema
func (TickInterpreter) ValueParamName ¶
func (i TickInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Ticker ¶
type Ticker struct {
// contains filtered or unexported fields
}
@block "generator"
func (*Ticker) ParseContextOverride ¶
func (t *Ticker) ParseContextOverride() conflow.ParseContextOverride
type TickerInterpreter ¶
type TickerInterpreter struct { }
TickerInterpreter is the Conflow interpreter for the Ticker block
func (TickerInterpreter) CreateBlock ¶
func (i TickerInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Ticker block
func (TickerInterpreter) Param ¶
func (i TickerInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (TickerInterpreter) ParseContext ¶
func (i TickerInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (TickerInterpreter) Schema ¶
func (i TickerInterpreter) Schema() schema.Schema
func (TickerInterpreter) ValueParamName ¶
func (i TickerInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
Source Files ¶
- basic.cf.go
- basic.go
- exec.cf.go
- exec.go
- fail.cf.go
- fail.go
- gunzip.cf.go
- gunzip.go
- gzip.cf.go
- gzip.go
- import.cf.go
- import.go
- it.cf.go
- iterator.cf.go
- iterator.go
- line.cf.go
- line_scanner.cf.go
- line_scanner.go
- main.go
- module.go
- print.cf.go
- print.go
- println.cf.go
- println.go
- sleep.cf.go
- sleep.go
- stream.cf.go
- stream.go
- tick.cf.go
- ticker.cf.go
- ticker.go