Documentation ¶
Index ¶
- type Block
- type BlockGenerator
- type BlockGeneratorInterpreter
- func (i BlockGeneratorInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockGeneratorInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockGeneratorInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockGeneratorInterpreter) Schema() schema.Schema
- func (i BlockGeneratorInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockGeneratorInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockGeneratorInterpreter) ValueParamName() conflow.ID
- type BlockGeneratorResult
- type BlockGeneratorResultInterpreter
- func (i BlockGeneratorResultInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockGeneratorResultInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockGeneratorResultInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockGeneratorResultInterpreter) Schema() schema.Schema
- func (i BlockGeneratorResultInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockGeneratorResultInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockGeneratorResultInterpreter) ValueParamName() conflow.ID
- type BlockInterpreter
- func (i BlockInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockInterpreter) Schema() schema.Schema
- func (i BlockInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockInterpreter) ValueParamName() conflow.ID
- type BlockNoFields
- type BlockNoFieldsInterpreter
- func (i BlockNoFieldsInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockNoFieldsInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockNoFieldsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockNoFieldsInterpreter) Schema() schema.Schema
- func (i BlockNoFieldsInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockNoFieldsInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockNoFieldsInterpreter) ValueParamName() conflow.ID
- type BlockRequiredField
- type BlockRequiredFieldInterpreter
- func (i BlockRequiredFieldInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockRequiredFieldInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockRequiredFieldInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockRequiredFieldInterpreter) Schema() schema.Schema
- func (i BlockRequiredFieldInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockRequiredFieldInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockRequiredFieldInterpreter) ValueParamName() conflow.ID
- type BlockValueField
- type BlockValueFieldInterpreter
- func (i BlockValueFieldInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockValueFieldInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockValueFieldInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockValueFieldInterpreter) Schema() schema.Schema
- func (i BlockValueFieldInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockValueFieldInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockValueFieldInterpreter) ValueParamName() conflow.ID
- type BlockWithContext
- type BlockWithContextInterpreter
- func (i BlockWithContextInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockWithContextInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockWithContextInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockWithContextInterpreter) Schema() schema.Schema
- func (i BlockWithContextInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockWithContextInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockWithContextInterpreter) ValueParamName() conflow.ID
- type BlockWithManyBlock
- type BlockWithManyBlockInterpreter
- func (i BlockWithManyBlockInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockWithManyBlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockWithManyBlockInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockWithManyBlockInterpreter) Schema() schema.Schema
- func (i BlockWithManyBlockInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockWithManyBlockInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockWithManyBlockInterpreter) ValueParamName() conflow.ID
- type BlockWithOneBlock
- type BlockWithOneBlockInterpreter
- func (i BlockWithOneBlockInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i BlockWithOneBlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i BlockWithOneBlockInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i BlockWithOneBlockInterpreter) Schema() schema.Schema
- func (i BlockWithOneBlockInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i BlockWithOneBlockInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i BlockWithOneBlockInterpreter) ValueParamName() conflow.ID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { // @id IDField conflow.ID FieldInterface interface{} FieldArray []interface{} FieldBool bool FieldFloat float64 FieldIdentifier conflow.ID FieldInteger int64 FieldMap map[string]interface{} // @types ["integer", "number"] FieldNumber interface{} FieldString string FieldStringArray []string FieldTime time.Time FieldTimeDuration time.Duration }
@block "configuration"
type BlockGenerator ¶
type BlockGenerator struct {
// contains filtered or unexported fields
}
@block "generator"
func (*BlockGenerator) ID ¶
func (b *BlockGenerator) ID() conflow.ID
type BlockGeneratorInterpreter ¶
type BlockGeneratorInterpreter struct { }
BlockGeneratorInterpreter is the Conflow interpreter for the BlockGenerator block
func (BlockGeneratorInterpreter) CreateBlock ¶
func (i BlockGeneratorInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockGenerator block
func (BlockGeneratorInterpreter) Param ¶
func (i BlockGeneratorInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockGeneratorInterpreter) ParseContext ¶
func (i BlockGeneratorInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockGeneratorInterpreter) Schema ¶
func (i BlockGeneratorInterpreter) Schema() schema.Schema
func (BlockGeneratorInterpreter) ValueParamName ¶
func (i BlockGeneratorInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockGeneratorResult ¶
type BlockGeneratorResult struct {
// contains filtered or unexported fields
}
@block "configuration"
func (*BlockGeneratorResult) ID ¶
func (b *BlockGeneratorResult) ID() conflow.ID
type BlockGeneratorResultInterpreter ¶
type BlockGeneratorResultInterpreter struct { }
BlockGeneratorResultInterpreter is the Conflow interpreter for the BlockGeneratorResult block
func (BlockGeneratorResultInterpreter) CreateBlock ¶
func (i BlockGeneratorResultInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockGeneratorResult block
func (BlockGeneratorResultInterpreter) Param ¶
func (i BlockGeneratorResultInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockGeneratorResultInterpreter) ParseContext ¶
func (i BlockGeneratorResultInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockGeneratorResultInterpreter) Schema ¶
func (i BlockGeneratorResultInterpreter) Schema() schema.Schema
func (BlockGeneratorResultInterpreter) ValueParamName ¶
func (i BlockGeneratorResultInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockInterpreter ¶
type BlockInterpreter struct { }
BlockInterpreter is the Conflow interpreter for the Block block
func (BlockInterpreter) CreateBlock ¶
func (i BlockInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new Block block
func (BlockInterpreter) Param ¶
func (i BlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockInterpreter) ParseContext ¶
func (i BlockInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockInterpreter) Schema ¶
func (i BlockInterpreter) Schema() schema.Schema
func (BlockInterpreter) ValueParamName ¶
func (i BlockInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockNoFields ¶
@block "configuration"
func (*BlockNoFields) ID ¶
func (b *BlockNoFields) ID() conflow.ID
type BlockNoFieldsInterpreter ¶
type BlockNoFieldsInterpreter struct { }
BlockNoFieldsInterpreter is the Conflow interpreter for the BlockNoFields block
func (BlockNoFieldsInterpreter) CreateBlock ¶
func (i BlockNoFieldsInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockNoFields block
func (BlockNoFieldsInterpreter) Param ¶
func (i BlockNoFieldsInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockNoFieldsInterpreter) ParseContext ¶
func (i BlockNoFieldsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockNoFieldsInterpreter) Schema ¶
func (i BlockNoFieldsInterpreter) Schema() schema.Schema
func (BlockNoFieldsInterpreter) ValueParamName ¶
func (i BlockNoFieldsInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockRequiredField ¶
type BlockRequiredField struct { // @id IDField conflow.ID // contains filtered or unexported fields }
@block "configuration"
func (*BlockRequiredField) ID ¶
func (b *BlockRequiredField) ID() conflow.ID
type BlockRequiredFieldInterpreter ¶
type BlockRequiredFieldInterpreter struct { }
BlockRequiredFieldInterpreter is the Conflow interpreter for the BlockRequiredField block
func (BlockRequiredFieldInterpreter) CreateBlock ¶
func (i BlockRequiredFieldInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockRequiredField block
func (BlockRequiredFieldInterpreter) Param ¶
func (i BlockRequiredFieldInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockRequiredFieldInterpreter) ParseContext ¶
func (i BlockRequiredFieldInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockRequiredFieldInterpreter) Schema ¶
func (i BlockRequiredFieldInterpreter) Schema() schema.Schema
func (BlockRequiredFieldInterpreter) ValueParamName ¶
func (i BlockRequiredFieldInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockValueField ¶
@block "configuration"
func (*BlockValueField) ID ¶
func (b *BlockValueField) ID() conflow.ID
type BlockValueFieldInterpreter ¶
type BlockValueFieldInterpreter struct { }
BlockValueFieldInterpreter is the Conflow interpreter for the BlockValueField block
func (BlockValueFieldInterpreter) CreateBlock ¶
func (i BlockValueFieldInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockValueField block
func (BlockValueFieldInterpreter) Param ¶
func (i BlockValueFieldInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockValueFieldInterpreter) ParseContext ¶
func (i BlockValueFieldInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockValueFieldInterpreter) Schema ¶
func (i BlockValueFieldInterpreter) Schema() schema.Schema
func (BlockValueFieldInterpreter) ValueParamName ¶
func (i BlockValueFieldInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockWithContext ¶
type BlockWithContext struct { // @id IDField conflow.ID // contains filtered or unexported fields }
@block "configuration"
func (*BlockWithContext) Context ¶
func (b *BlockWithContext) Context(ctx context.Context) (context.Context, context.CancelFunc)
func (*BlockWithContext) ID ¶
func (b *BlockWithContext) ID() conflow.ID
type BlockWithContextInterpreter ¶
type BlockWithContextInterpreter struct { }
BlockWithContextInterpreter is the Conflow interpreter for the BlockWithContext block
func (BlockWithContextInterpreter) CreateBlock ¶
func (i BlockWithContextInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockWithContext block
func (BlockWithContextInterpreter) Param ¶
func (i BlockWithContextInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockWithContextInterpreter) ParseContext ¶
func (i BlockWithContextInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockWithContextInterpreter) Schema ¶
func (i BlockWithContextInterpreter) Schema() schema.Schema
func (BlockWithContextInterpreter) ValueParamName ¶
func (i BlockWithContextInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockWithManyBlock ¶
@block "configuration"
func (*BlockWithManyBlock) ID ¶
func (b *BlockWithManyBlock) ID() conflow.ID
func (*BlockWithManyBlock) ParseContextOverride ¶
func (b *BlockWithManyBlock) ParseContextOverride() conflow.ParseContextOverride
type BlockWithManyBlockInterpreter ¶
type BlockWithManyBlockInterpreter struct { }
BlockWithManyBlockInterpreter is the Conflow interpreter for the BlockWithManyBlock block
func (BlockWithManyBlockInterpreter) CreateBlock ¶
func (i BlockWithManyBlockInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockWithManyBlock block
func (BlockWithManyBlockInterpreter) Param ¶
func (i BlockWithManyBlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockWithManyBlockInterpreter) ParseContext ¶
func (i BlockWithManyBlockInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockWithManyBlockInterpreter) Schema ¶
func (i BlockWithManyBlockInterpreter) Schema() schema.Schema
func (BlockWithManyBlockInterpreter) ValueParamName ¶
func (i BlockWithManyBlockInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
type BlockWithOneBlock ¶
@block "configuration"
func (*BlockWithOneBlock) ID ¶
func (b *BlockWithOneBlock) ID() conflow.ID
func (*BlockWithOneBlock) ParseContextOverride ¶
func (b *BlockWithOneBlock) ParseContextOverride() conflow.ParseContextOverride
type BlockWithOneBlockInterpreter ¶
type BlockWithOneBlockInterpreter struct { }
BlockWithOneBlockInterpreter is the Conflow interpreter for the BlockWithOneBlock block
func (BlockWithOneBlockInterpreter) CreateBlock ¶
func (i BlockWithOneBlockInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new BlockWithOneBlock block
func (BlockWithOneBlockInterpreter) Param ¶
func (i BlockWithOneBlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (BlockWithOneBlockInterpreter) ParseContext ¶
func (i BlockWithOneBlockInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (BlockWithOneBlockInterpreter) Schema ¶
func (i BlockWithOneBlockInterpreter) Schema() schema.Schema
func (BlockWithOneBlockInterpreter) ValueParamName ¶
func (i BlockWithOneBlockInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
Source Files ¶
- block.cf.go
- block.go
- block_generator.cf.go
- block_generator.go
- block_generator_result.cf.go
- block_no_fields.cf.go
- block_no_fields.go
- block_required_field.cf.go
- block_required_field.go
- block_value_field.cf.go
- block_value_field.go
- block_with_context.cf.go
- block_with_context.go
- block_with_many_block.cf.go
- block_with_many_block.go
- block_with_one_block.cf.go
- block_with_one_block.go