Documentation ¶
Index ¶
- func InterpreterRegistry() block.InterpreterRegistry
- type AllOf
- type AllOfInterpreter
- func (i AllOfInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i AllOfInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i AllOfInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i AllOfInterpreter) Schema() schema.Schema
- func (i AllOfInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i AllOfInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i AllOfInterpreter) ValueParamName() conflow.ID
- type Array
- type ArrayInterpreter
- func (i ArrayInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ArrayInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ArrayInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ArrayInterpreter) Schema() schema.Schema
- func (i ArrayInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ArrayInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ArrayInterpreter) ValueParamName() conflow.ID
- type Boolean
- type BooleanInterpreter
- func (i BooleanInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BooleanInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BooleanInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BooleanInterpreter) Schema() schema.Schema
- func (i BooleanInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BooleanInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BooleanInterpreter) ValueParamName() conflow.ID
- type Integer
- type IntegerInterpreter
- func (i IntegerInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i IntegerInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i IntegerInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i IntegerInterpreter) Schema() schema.Schema
- func (i IntegerInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i IntegerInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i IntegerInterpreter) ValueParamName() conflow.ID
- type Map
- type MapInterpreter
- func (i MapInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MapInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MapInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MapInterpreter) Schema() schema.Schema
- func (i MapInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MapInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MapInterpreter) ValueParamName() conflow.ID
- type Number
- type NumberInterpreter
- func (i NumberInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i NumberInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i NumberInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i NumberInterpreter) Schema() schema.Schema
- func (i NumberInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i NumberInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i NumberInterpreter) ValueParamName() conflow.ID
- type Object
- type ObjectInterpreter
- func (i ObjectInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ObjectInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ObjectInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ObjectInterpreter) Schema() schema.Schema
- func (i ObjectInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ObjectInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ObjectInterpreter) ValueParamName() conflow.ID
- type Reference
- type ReferenceInterpreter
- func (i ReferenceInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ReferenceInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ReferenceInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ReferenceInterpreter) Schema() schema.Schema
- func (i ReferenceInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ReferenceInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ReferenceInterpreter) ValueParamName() conflow.ID
- type String
- type StringInterpreter
- func (i StringInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i StringInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i StringInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i StringInterpreter) Schema() schema.Schema
- func (i StringInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i StringInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i StringInterpreter) ValueParamName() conflow.ID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterpreterRegistry ¶
func InterpreterRegistry() block.InterpreterRegistry
Types ¶
type AllOf ¶
@block "configuration"
func (*AllOf) ParseContextOverride ¶
func (a *AllOf) ParseContextOverride() conflow.ParseContextOverride
type AllOfInterpreter ¶
type AllOfInterpreter struct { }
AllOfInterpreter is the Conflow interpreter for the AllOf block
func (AllOfInterpreter) CreateBlock ¶
func (i AllOfInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new AllOf block
func (AllOfInterpreter) Param ¶
func (i AllOfInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (AllOfInterpreter) ParseContext ¶
func (i AllOfInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (AllOfInterpreter) Schema ¶
func (i AllOfInterpreter) Schema() schema.Schema
func (AllOfInterpreter) ValueParamName ¶
func (i AllOfInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Array ¶
@block "configuration"
func (*Array) ParseContextOverride ¶
func (a *Array) ParseContextOverride() conflow.ParseContextOverride
type ArrayInterpreter ¶
type ArrayInterpreter struct { }
ArrayInterpreter is the Conflow interpreter for the Array block
func (ArrayInterpreter) CreateBlock ¶
func (i ArrayInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Array block
func (ArrayInterpreter) Param ¶
func (i ArrayInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ArrayInterpreter) ParseContext ¶
func (i ArrayInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ArrayInterpreter) Schema ¶
func (i ArrayInterpreter) Schema() schema.Schema
func (ArrayInterpreter) ValueParamName ¶
func (i ArrayInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BooleanInterpreter ¶
type BooleanInterpreter struct { }
BooleanInterpreter is the Conflow interpreter for the Boolean block
func (BooleanInterpreter) CreateBlock ¶
func (i BooleanInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Boolean block
func (BooleanInterpreter) Param ¶
func (i BooleanInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BooleanInterpreter) ParseContext ¶
func (i BooleanInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BooleanInterpreter) Schema ¶
func (i BooleanInterpreter) Schema() schema.Schema
func (BooleanInterpreter) ValueParamName ¶
func (i BooleanInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type IntegerInterpreter ¶
type IntegerInterpreter struct { }
IntegerInterpreter is the Conflow interpreter for the Integer block
func (IntegerInterpreter) CreateBlock ¶
func (i IntegerInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Integer block
func (IntegerInterpreter) Param ¶
func (i IntegerInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (IntegerInterpreter) ParseContext ¶
func (i IntegerInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (IntegerInterpreter) Schema ¶
func (i IntegerInterpreter) Schema() schema.Schema
func (IntegerInterpreter) ValueParamName ¶
func (i IntegerInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Map ¶
@block "configuration"
func (*Map) ParseContextOverride ¶
func (m *Map) ParseContextOverride() conflow.ParseContextOverride
type MapInterpreter ¶
type MapInterpreter struct { }
MapInterpreter is the Conflow interpreter for the Map block
func (MapInterpreter) CreateBlock ¶
func (i MapInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Map block
func (MapInterpreter) Param ¶
func (i MapInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (MapInterpreter) ParseContext ¶
func (i MapInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MapInterpreter) Schema ¶
func (i MapInterpreter) Schema() schema.Schema
func (MapInterpreter) ValueParamName ¶
func (i MapInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type NumberInterpreter ¶
type NumberInterpreter struct { }
NumberInterpreter is the Conflow interpreter for the Number block
func (NumberInterpreter) CreateBlock ¶
func (i NumberInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Number block
func (NumberInterpreter) Param ¶
func (i NumberInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (NumberInterpreter) ParseContext ¶
func (i NumberInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (NumberInterpreter) Schema ¶
func (i NumberInterpreter) Schema() schema.Schema
func (NumberInterpreter) ValueParamName ¶
func (i NumberInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type Object ¶
@block "configuration"
func (*Object) ParseContextOverride ¶
func (o *Object) ParseContextOverride() conflow.ParseContextOverride
type ObjectInterpreter ¶
type ObjectInterpreter struct { }
ObjectInterpreter is the Conflow interpreter for the Object block
func (ObjectInterpreter) CreateBlock ¶
func (i ObjectInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Object block
func (ObjectInterpreter) Param ¶
func (i ObjectInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ObjectInterpreter) ParseContext ¶
func (i ObjectInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ObjectInterpreter) Schema ¶
func (i ObjectInterpreter) Schema() schema.Schema
func (ObjectInterpreter) ValueParamName ¶
func (i ObjectInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type ReferenceInterpreter ¶
type ReferenceInterpreter struct { }
ReferenceInterpreter is the Conflow interpreter for the Reference block
func (ReferenceInterpreter) CreateBlock ¶
func (i ReferenceInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Reference block
func (ReferenceInterpreter) Param ¶
func (i ReferenceInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ReferenceInterpreter) ParseContext ¶
func (i ReferenceInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ReferenceInterpreter) Schema ¶
func (i ReferenceInterpreter) Schema() schema.Schema
func (ReferenceInterpreter) ValueParamName ¶
func (i ReferenceInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type StringInterpreter ¶
type StringInterpreter struct { }
StringInterpreter is the Conflow interpreter for the String block
func (StringInterpreter) CreateBlock ¶
func (i StringInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new String block
func (StringInterpreter) Param ¶
func (i StringInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (StringInterpreter) ParseContext ¶
func (i StringInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (StringInterpreter) Schema ¶
func (i StringInterpreter) Schema() schema.Schema
func (StringInterpreter) ValueParamName ¶
func (i StringInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set