fixtures

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

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"

func (*Block) ID

func (t *Block) ID() conflow.ID

type BlockGenerator

type BlockGenerator struct {
	// contains filtered or unexported fields
}

@block "generator"

func (*BlockGenerator) ID

func (b *BlockGenerator) ID() conflow.ID

func (*BlockGenerator) Run

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

ParseContext returns with the parse context for the block

func (BlockGeneratorInterpreter) Schema

func (BlockGeneratorInterpreter) SetBlock

func (i BlockGeneratorInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockGeneratorInterpreter) SetParam

func (i BlockGeneratorInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

type BlockGeneratorResultInterpreter

type BlockGeneratorResultInterpreter struct {
}

BlockGeneratorResultInterpreter is the Conflow interpreter for the BlockGeneratorResult block

func (BlockGeneratorResultInterpreter) CreateBlock

Create creates a new BlockGeneratorResult block

func (BlockGeneratorResultInterpreter) Param

func (i BlockGeneratorResultInterpreter) Param(b conflow.Block, name conflow.ID) interface{}

func (BlockGeneratorResultInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockGeneratorResultInterpreter) Schema

func (BlockGeneratorResultInterpreter) SetBlock

func (i BlockGeneratorResultInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockGeneratorResultInterpreter) SetParam

func (i BlockGeneratorResultInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

ParseContext returns with the parse context for the block

func (BlockInterpreter) Schema

func (i BlockInterpreter) Schema() schema.Schema

func (BlockInterpreter) SetBlock

func (i BlockInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockInterpreter) SetParam

func (i BlockInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

type BlockNoFields struct {
	// @id
	IDField conflow.ID
}

@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

ParseContext returns with the parse context for the block

func (BlockNoFieldsInterpreter) Schema

func (BlockNoFieldsInterpreter) SetBlock

func (i BlockNoFieldsInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockNoFieldsInterpreter) SetParam

func (i BlockNoFieldsInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

Create creates a new BlockRequiredField block

func (BlockRequiredFieldInterpreter) Param

func (i BlockRequiredFieldInterpreter) Param(b conflow.Block, name conflow.ID) interface{}

func (BlockRequiredFieldInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockRequiredFieldInterpreter) Schema

func (BlockRequiredFieldInterpreter) SetBlock

func (i BlockRequiredFieldInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockRequiredFieldInterpreter) SetParam

func (i BlockRequiredFieldInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

type BlockValueField struct {
	// @id
	IDField conflow.ID
	// contains filtered or unexported fields
}

@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

ParseContext returns with the parse context for the block

func (BlockValueFieldInterpreter) Schema

func (BlockValueFieldInterpreter) SetBlock

func (i BlockValueFieldInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockValueFieldInterpreter) SetParam

func (i BlockValueFieldInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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 (*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

Create creates a new BlockWithContext block

func (BlockWithContextInterpreter) Param

func (i BlockWithContextInterpreter) Param(b conflow.Block, name conflow.ID) interface{}

func (BlockWithContextInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockWithContextInterpreter) Schema

func (BlockWithContextInterpreter) SetBlock

func (i BlockWithContextInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockWithContextInterpreter) SetParam

func (i BlockWithContextInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

type BlockWithManyBlock struct {
	// @id
	IDField conflow.ID
	Block   []*Block
}

@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

Create creates a new BlockWithManyBlock block

func (BlockWithManyBlockInterpreter) Param

func (i BlockWithManyBlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}

func (BlockWithManyBlockInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockWithManyBlockInterpreter) Schema

func (BlockWithManyBlockInterpreter) SetBlock

func (i BlockWithManyBlockInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockWithManyBlockInterpreter) SetParam

func (i BlockWithManyBlockInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

type BlockWithOneBlock struct {
	// @id
	IDField conflow.ID
	Block   *Block
}

@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

Create creates a new BlockWithOneBlock block

func (BlockWithOneBlockInterpreter) Param

func (i BlockWithOneBlockInterpreter) Param(b conflow.Block, name conflow.ID) interface{}

func (BlockWithOneBlockInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockWithOneBlockInterpreter) Schema

func (BlockWithOneBlockInterpreter) SetBlock

func (i BlockWithOneBlockInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error

func (BlockWithOneBlockInterpreter) SetParam

func (i BlockWithOneBlockInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error

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

Jump to

Keyboard shortcuts

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