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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockSimple

type BlockSimple struct {
	// @id
	IDField conflow.ID
	// @value
	Value string
}

@block "configuration"

func (*BlockSimple) ID

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

type BlockSimpleInterpreter

type BlockSimpleInterpreter struct {
}

BlockSimpleInterpreter is the Conflow interpreter for the BlockSimple block

func (BlockSimpleInterpreter) CreateBlock

func (i BlockSimpleInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block

Create creates a new BlockSimple block

func (BlockSimpleInterpreter) Param

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

func (BlockSimpleInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockSimpleInterpreter) Schema

func (BlockSimpleInterpreter) SetBlock

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

func (BlockSimpleInterpreter) SetParam

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

func (BlockSimpleInterpreter) ValueParamName

func (i BlockSimpleInterpreter) ValueParamName() conflow.ID

ValueParamName returns the name of the parameter marked as value field, if there is one set

type BlockValueRequired

type BlockValueRequired struct {
	// @id
	IDField conflow.ID
	// @value
	// @required
	Value string
}

@block "configuration"

func (*BlockValueRequired) ID

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

type BlockValueRequiredInterpreter

type BlockValueRequiredInterpreter struct {
}

BlockValueRequiredInterpreter is the Conflow interpreter for the BlockValueRequired block

func (BlockValueRequiredInterpreter) CreateBlock

Create creates a new BlockValueRequired block

func (BlockValueRequiredInterpreter) Param

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

func (BlockValueRequiredInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockValueRequiredInterpreter) Schema

func (BlockValueRequiredInterpreter) SetBlock

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

func (BlockValueRequiredInterpreter) SetParam

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

func (BlockValueRequiredInterpreter) ValueParamName

func (i BlockValueRequiredInterpreter) ValueParamName() conflow.ID

ValueParamName returns the name of the parameter marked as value field, if there is one set

type BlockWithDefault

type BlockWithDefault struct {
	// @id
	IDField conflow.ID
	// @value
	// @default "foo"
	Value string
}

@block "configuration"

func (*BlockWithDefault) ID

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

type BlockWithDefaultInterpreter

type BlockWithDefaultInterpreter struct {
}

BlockWithDefaultInterpreter is the Conflow interpreter for the BlockWithDefault block

func (BlockWithDefaultInterpreter) CreateBlock

Create creates a new BlockWithDefault block

func (BlockWithDefaultInterpreter) Param

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

func (BlockWithDefaultInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockWithDefaultInterpreter) Schema

func (BlockWithDefaultInterpreter) SetBlock

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

func (BlockWithDefaultInterpreter) SetParam

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

func (BlockWithDefaultInterpreter) ValueParamName

func (i BlockWithDefaultInterpreter) ValueParamName() conflow.ID

ValueParamName returns the name of the parameter marked as value field, if there is one set

type BlockWithInterface

type BlockWithInterface struct {
	// @id
	IDField conflow.ID
	Block   conflow.Block
	Blocks  []conflow.Block
}

@block "configuration"

func (*BlockWithInterface) ID

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

func (*BlockWithInterface) ParseContextOverride

func (b *BlockWithInterface) ParseContextOverride() conflow.ParseContextOverride

type BlockWithInterfaceInterpreter

type BlockWithInterfaceInterpreter struct {
}

BlockWithInterfaceInterpreter is the Conflow interpreter for the BlockWithInterface block

func (BlockWithInterfaceInterpreter) CreateBlock

Create creates a new BlockWithInterface block

func (BlockWithInterfaceInterpreter) Param

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

func (BlockWithInterfaceInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BlockWithInterfaceInterpreter) Schema

func (BlockWithInterfaceInterpreter) SetBlock

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

func (BlockWithInterfaceInterpreter) SetParam

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

func (BlockWithInterfaceInterpreter) ValueParamName

func (i BlockWithInterfaceInterpreter) 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
	BlockSimple []*BlockSimple
}

@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
	BlockSimple *BlockSimple
}

@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