directives

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

func Registry

func Registry() block.InterpreterRegistry

Types

type Block

type Block struct {

	// @enum ["ignore", "init", "parse", "resolve"]
	EvalStage string
	Path      string
	// @enum ["configuration", "directive", "generator", "main", "task"]
	// @value
	// @required
	Type string
	// contains filtered or unexported fields
}

Block is the directive for marking structs as conflow blocks

@block "directive"

func (*Block) ApplyToSchema

func (b *Block) ApplyToSchema(s schema.Schema) error

func (*Block) ID

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

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 Const

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

@block "directive"

func (*Const) ApplyToSchema

func (c *Const) ApplyToSchema(s schema.Schema) error

func (*Const) ID

func (c *Const) ID() conflow.ID

type ConstInterpreter

type ConstInterpreter struct {
}

ConstInterpreter is the Conflow interpreter for the Const block

func (ConstInterpreter) CreateBlock

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

Create creates a new Const block

func (ConstInterpreter) Param

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

func (ConstInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ConstInterpreter) Schema

func (i ConstInterpreter) Schema() schema.Schema

func (ConstInterpreter) SetBlock

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

func (ConstInterpreter) SetParam

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

func (ConstInterpreter) ValueParamName

func (i ConstInterpreter) ValueParamName() conflow.ID

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

type Default

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

@block "directive"

func (*Default) ApplyToSchema

func (d *Default) ApplyToSchema(s schema.Schema) error

func (*Default) ID

func (d *Default) ID() conflow.ID

type DefaultInterpreter

type DefaultInterpreter struct {
}

DefaultInterpreter is the Conflow interpreter for the Default block

func (DefaultInterpreter) CreateBlock

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

Create creates a new Default block

func (DefaultInterpreter) Param

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

func (DefaultInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (DefaultInterpreter) Schema

func (i DefaultInterpreter) Schema() schema.Schema

func (DefaultInterpreter) SetBlock

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

func (DefaultInterpreter) SetParam

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

func (DefaultInterpreter) ValueParamName

func (i DefaultInterpreter) ValueParamName() conflow.ID

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

type Dependency

type Dependency struct {

	// @value
	Name string
	// contains filtered or unexported fields
}

@block "directive"

func (*Dependency) ApplyToSchema

func (d *Dependency) ApplyToSchema(s schema.Schema) error

func (*Dependency) ID

func (d *Dependency) ID() conflow.ID

type DependencyInterpreter

type DependencyInterpreter struct {
}

DependencyInterpreter is the Conflow interpreter for the Dependency block

func (DependencyInterpreter) CreateBlock

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

Create creates a new Dependency block

func (DependencyInterpreter) Param

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

func (DependencyInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (DependencyInterpreter) Schema

func (i DependencyInterpreter) Schema() schema.Schema

func (DependencyInterpreter) SetBlock

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

func (DependencyInterpreter) SetParam

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

func (DependencyInterpreter) ValueParamName

func (i DependencyInterpreter) ValueParamName() conflow.ID

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

type DependentRequired

type DependentRequired struct {

	// @value
	// @required
	Value map[string]schema.UniqueNonEmptyStringList
	// contains filtered or unexported fields
}

@block "directive"

func (*DependentRequired) ApplyToSchema

func (d *DependentRequired) ApplyToSchema(s schema.Schema) error

func (*DependentRequired) ID

func (d *DependentRequired) ID() conflow.ID

type DependentRequiredInterpreter

type DependentRequiredInterpreter struct {
}

DependentRequiredInterpreter is the Conflow interpreter for the DependentRequired block

func (DependentRequiredInterpreter) CreateBlock

Create creates a new DependentRequired block

func (DependentRequiredInterpreter) Param

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

func (DependentRequiredInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (DependentRequiredInterpreter) Schema

func (DependentRequiredInterpreter) SetBlock

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

func (DependentRequiredInterpreter) SetParam

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

func (DependentRequiredInterpreter) ValueParamName

func (i DependentRequiredInterpreter) ValueParamName() conflow.ID

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

type Deprecated

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

@block "directive"

func (*Deprecated) ApplyToSchema

func (d *Deprecated) ApplyToSchema(s schema.Schema) error

func (*Deprecated) ID

func (d *Deprecated) ID() conflow.ID

type DeprecatedInterpreter

type DeprecatedInterpreter struct {
}

DeprecatedInterpreter is the Conflow interpreter for the Deprecated block

func (DeprecatedInterpreter) CreateBlock

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

Create creates a new Deprecated block

func (DeprecatedInterpreter) Param

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

func (DeprecatedInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (DeprecatedInterpreter) Schema

func (i DeprecatedInterpreter) Schema() schema.Schema

func (DeprecatedInterpreter) SetBlock

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

func (DeprecatedInterpreter) SetParam

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

func (DeprecatedInterpreter) ValueParamName

func (i DeprecatedInterpreter) ValueParamName() conflow.ID

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

type Enum

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

@block "directive"

func (*Enum) ApplyToSchema

func (e *Enum) ApplyToSchema(s schema.Schema) error

func (*Enum) ID

func (e *Enum) ID() conflow.ID

type EnumInterpreter

type EnumInterpreter struct {
}

EnumInterpreter is the Conflow interpreter for the Enum block

func (EnumInterpreter) CreateBlock

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

Create creates a new Enum block

func (EnumInterpreter) Param

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

func (EnumInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (EnumInterpreter) Schema

func (i EnumInterpreter) Schema() schema.Schema

func (EnumInterpreter) SetBlock

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

func (EnumInterpreter) SetParam

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

func (EnumInterpreter) ValueParamName

func (i EnumInterpreter) ValueParamName() conflow.ID

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

type EvalStage

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

@block "directive"

func (*EvalStage) ApplyToSchema

func (s *EvalStage) ApplyToSchema(sch schema.Schema) error

func (*EvalStage) ID

func (s *EvalStage) ID() conflow.ID

type EvalStageInterpreter

type EvalStageInterpreter struct {
}

EvalStageInterpreter is the Conflow interpreter for the EvalStage block

func (EvalStageInterpreter) CreateBlock

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

Create creates a new EvalStage block

func (EvalStageInterpreter) Param

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

func (EvalStageInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (EvalStageInterpreter) Schema

func (i EvalStageInterpreter) Schema() schema.Schema

func (EvalStageInterpreter) SetBlock

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

func (EvalStageInterpreter) SetParam

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

func (EvalStageInterpreter) ValueParamName

func (i EvalStageInterpreter) ValueParamName() conflow.ID

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

type Examples

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

@block "directive"

func (*Examples) ApplyToSchema

func (e *Examples) ApplyToSchema(s schema.Schema) error

func (*Examples) ID

func (e *Examples) ID() conflow.ID

type ExamplesInterpreter

type ExamplesInterpreter struct {
}

ExamplesInterpreter is the Conflow interpreter for the Examples block

func (ExamplesInterpreter) CreateBlock

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

Create creates a new Examples block

func (ExamplesInterpreter) Param

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

func (ExamplesInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ExamplesInterpreter) Schema

func (i ExamplesInterpreter) Schema() schema.Schema

func (ExamplesInterpreter) SetBlock

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

func (ExamplesInterpreter) SetParam

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

func (ExamplesInterpreter) ValueParamName

func (i ExamplesInterpreter) ValueParamName() conflow.ID

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

type ExclusiveMaximum

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

@block "directive"

func (*ExclusiveMaximum) ApplyToSchema

func (e *ExclusiveMaximum) ApplyToSchema(s schema.Schema) error

func (*ExclusiveMaximum) ID

func (e *ExclusiveMaximum) ID() conflow.ID

type ExclusiveMaximumInterpreter

type ExclusiveMaximumInterpreter struct {
}

ExclusiveMaximumInterpreter is the Conflow interpreter for the ExclusiveMaximum block

func (ExclusiveMaximumInterpreter) CreateBlock

Create creates a new ExclusiveMaximum block

func (ExclusiveMaximumInterpreter) Param

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

func (ExclusiveMaximumInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ExclusiveMaximumInterpreter) Schema

func (ExclusiveMaximumInterpreter) SetBlock

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

func (ExclusiveMaximumInterpreter) SetParam

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

func (ExclusiveMaximumInterpreter) ValueParamName

func (i ExclusiveMaximumInterpreter) ValueParamName() conflow.ID

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

type ExclusiveMinimum

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

@block "directive"

func (*ExclusiveMinimum) ApplyToSchema

func (e *ExclusiveMinimum) ApplyToSchema(s schema.Schema) error

func (*ExclusiveMinimum) ID

func (e *ExclusiveMinimum) ID() conflow.ID

type ExclusiveMinimumInterpreter

type ExclusiveMinimumInterpreter struct {
}

ExclusiveMinimumInterpreter is the Conflow interpreter for the ExclusiveMinimum block

func (ExclusiveMinimumInterpreter) CreateBlock

Create creates a new ExclusiveMinimum block

func (ExclusiveMinimumInterpreter) Param

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

func (ExclusiveMinimumInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ExclusiveMinimumInterpreter) Schema

func (ExclusiveMinimumInterpreter) SetBlock

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

func (ExclusiveMinimumInterpreter) SetParam

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

func (ExclusiveMinimumInterpreter) ValueParamName

func (i ExclusiveMinimumInterpreter) ValueParamName() conflow.ID

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

type Format

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

@block "directive"

func (*Format) ApplyToSchema

func (f *Format) ApplyToSchema(s schema.Schema) error

func (*Format) ID

func (f *Format) ID() conflow.ID

type FormatInterpreter

type FormatInterpreter struct {
}

FormatInterpreter is the Conflow interpreter for the Format block

func (FormatInterpreter) CreateBlock

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

Create creates a new Format block

func (FormatInterpreter) Param

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

func (FormatInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (FormatInterpreter) Schema

func (i FormatInterpreter) Schema() schema.Schema

func (FormatInterpreter) SetBlock

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

func (FormatInterpreter) SetParam

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

func (FormatInterpreter) ValueParamName

func (i FormatInterpreter) ValueParamName() conflow.ID

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

type Function

type Function struct {
	Path string
	// contains filtered or unexported fields
}

Function is the directive for marking functions as conflow functions

@block "directive"

func (*Function) ApplyToSchema

func (f *Function) ApplyToSchema(s schema.Schema) error

func (*Function) ID

func (f *Function) ID() conflow.ID

type FunctionInterpreter

type FunctionInterpreter struct {
}

FunctionInterpreter is the Conflow interpreter for the Function block

func (FunctionInterpreter) CreateBlock

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

Create creates a new Function block

func (FunctionInterpreter) Param

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

func (FunctionInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (FunctionInterpreter) Schema

func (i FunctionInterpreter) Schema() schema.Schema

func (FunctionInterpreter) SetBlock

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

func (FunctionInterpreter) SetParam

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

func (FunctionInterpreter) ValueParamName

func (i FunctionInterpreter) ValueParamName() conflow.ID

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

type Generated

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

@block "directive"

func (*Generated) ApplyToSchema

func (g *Generated) ApplyToSchema(s schema.Schema) error

func (*Generated) ID

func (g *Generated) ID() conflow.ID

type GeneratedInterpreter

type GeneratedInterpreter struct {
}

GeneratedInterpreter is the Conflow interpreter for the Generated block

func (GeneratedInterpreter) CreateBlock

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

Create creates a new Generated block

func (GeneratedInterpreter) Param

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

func (GeneratedInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (GeneratedInterpreter) Schema

func (i GeneratedInterpreter) Schema() schema.Schema

func (GeneratedInterpreter) SetBlock

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

func (GeneratedInterpreter) SetParam

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

func (GeneratedInterpreter) ValueParamName

func (i GeneratedInterpreter) ValueParamName() conflow.ID

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

type ID

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

@block "directive"

func (*ID) ApplyToSchema

func (i *ID) ApplyToSchema(s schema.Schema) error

func (*ID) ID

func (i *ID) ID() conflow.ID

type IDInterpreter

type IDInterpreter struct {
}

IDInterpreter is the Conflow interpreter for the ID block

func (IDInterpreter) CreateBlock

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

Create creates a new ID block

func (IDInterpreter) Param

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

func (IDInterpreter) ParseContext

func (i IDInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext

ParseContext returns with the parse context for the block

func (IDInterpreter) Schema

func (i IDInterpreter) Schema() schema.Schema

func (IDInterpreter) SetBlock

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

func (IDInterpreter) SetParam

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

func (IDInterpreter) ValueParamName

func (i IDInterpreter) ValueParamName() conflow.ID

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

type Ignore

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

@block "directive"

func (*Ignore) ApplyToSchema

func (i *Ignore) ApplyToSchema(schema.Schema) error

func (*Ignore) ID

func (i *Ignore) ID() conflow.ID

type IgnoreInterpreter

type IgnoreInterpreter struct {
}

IgnoreInterpreter is the Conflow interpreter for the Ignore block

func (IgnoreInterpreter) CreateBlock

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

Create creates a new Ignore block

func (IgnoreInterpreter) Param

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

func (IgnoreInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (IgnoreInterpreter) Schema

func (i IgnoreInterpreter) Schema() schema.Schema

func (IgnoreInterpreter) SetBlock

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

func (IgnoreInterpreter) SetParam

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

func (IgnoreInterpreter) ValueParamName

func (i IgnoreInterpreter) ValueParamName() conflow.ID

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

type Key

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

@block "directive"

func (*Key) ApplyToSchema

func (k *Key) ApplyToSchema(s schema.Schema) error

func (*Key) ID

func (k *Key) ID() conflow.ID

type KeyInterpreter

type KeyInterpreter struct {
}

KeyInterpreter is the Conflow interpreter for the Key block

func (KeyInterpreter) CreateBlock

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

Create creates a new Key block

func (KeyInterpreter) Param

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

func (KeyInterpreter) ParseContext

func (i KeyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext

ParseContext returns with the parse context for the block

func (KeyInterpreter) Schema

func (i KeyInterpreter) Schema() schema.Schema

func (KeyInterpreter) SetBlock

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

func (KeyInterpreter) SetParam

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

func (KeyInterpreter) ValueParamName

func (i KeyInterpreter) ValueParamName() conflow.ID

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

type MaxItems

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

@block "directive"

func (*MaxItems) ApplyToSchema

func (m *MaxItems) ApplyToSchema(s schema.Schema) error

func (*MaxItems) ID

func (m *MaxItems) ID() conflow.ID

type MaxItemsInterpreter

type MaxItemsInterpreter struct {
}

MaxItemsInterpreter is the Conflow interpreter for the MaxItems block

func (MaxItemsInterpreter) CreateBlock

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

Create creates a new MaxItems block

func (MaxItemsInterpreter) Param

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

func (MaxItemsInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MaxItemsInterpreter) Schema

func (i MaxItemsInterpreter) Schema() schema.Schema

func (MaxItemsInterpreter) SetBlock

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

func (MaxItemsInterpreter) SetParam

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

func (MaxItemsInterpreter) ValueParamName

func (i MaxItemsInterpreter) ValueParamName() conflow.ID

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

type MaxLength

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

@block "directive"

func (*MaxLength) ApplyToSchema

func (m *MaxLength) ApplyToSchema(s schema.Schema) error

func (*MaxLength) ID

func (m *MaxLength) ID() conflow.ID

type MaxLengthInterpreter

type MaxLengthInterpreter struct {
}

MaxLengthInterpreter is the Conflow interpreter for the MaxLength block

func (MaxLengthInterpreter) CreateBlock

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

Create creates a new MaxLength block

func (MaxLengthInterpreter) Param

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

func (MaxLengthInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MaxLengthInterpreter) Schema

func (i MaxLengthInterpreter) Schema() schema.Schema

func (MaxLengthInterpreter) SetBlock

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

func (MaxLengthInterpreter) SetParam

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

func (MaxLengthInterpreter) ValueParamName

func (i MaxLengthInterpreter) ValueParamName() conflow.ID

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

type MaxProperties

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

@block "directive"

func (*MaxProperties) ApplyToSchema

func (m *MaxProperties) ApplyToSchema(s schema.Schema) error

func (*MaxProperties) ID

func (m *MaxProperties) ID() conflow.ID

type MaxPropertiesInterpreter

type MaxPropertiesInterpreter struct {
}

MaxPropertiesInterpreter is the Conflow interpreter for the MaxProperties block

func (MaxPropertiesInterpreter) CreateBlock

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

Create creates a new MaxProperties block

func (MaxPropertiesInterpreter) Param

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

func (MaxPropertiesInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MaxPropertiesInterpreter) Schema

func (MaxPropertiesInterpreter) SetBlock

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

func (MaxPropertiesInterpreter) SetParam

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

func (MaxPropertiesInterpreter) ValueParamName

func (i MaxPropertiesInterpreter) ValueParamName() conflow.ID

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

type Maximum

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

@block "directive"

func (*Maximum) ApplyToSchema

func (m *Maximum) ApplyToSchema(s schema.Schema) error

func (*Maximum) ID

func (m *Maximum) ID() conflow.ID

type MaximumInterpreter

type MaximumInterpreter struct {
}

MaximumInterpreter is the Conflow interpreter for the Maximum block

func (MaximumInterpreter) CreateBlock

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

Create creates a new Maximum block

func (MaximumInterpreter) Param

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

func (MaximumInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MaximumInterpreter) Schema

func (i MaximumInterpreter) Schema() schema.Schema

func (MaximumInterpreter) SetBlock

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

func (MaximumInterpreter) SetParam

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

func (MaximumInterpreter) ValueParamName

func (i MaximumInterpreter) ValueParamName() conflow.ID

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

type MinItems

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

@block "directive"

func (*MinItems) ApplyToSchema

func (m *MinItems) ApplyToSchema(s schema.Schema) error

func (*MinItems) ID

func (m *MinItems) ID() conflow.ID

type MinItemsInterpreter

type MinItemsInterpreter struct {
}

MinItemsInterpreter is the Conflow interpreter for the MinItems block

func (MinItemsInterpreter) CreateBlock

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

Create creates a new MinItems block

func (MinItemsInterpreter) Param

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

func (MinItemsInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MinItemsInterpreter) Schema

func (i MinItemsInterpreter) Schema() schema.Schema

func (MinItemsInterpreter) SetBlock

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

func (MinItemsInterpreter) SetParam

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

func (MinItemsInterpreter) ValueParamName

func (i MinItemsInterpreter) ValueParamName() conflow.ID

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

type MinLength

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

@block "directive"

func (*MinLength) ApplyToSchema

func (m *MinLength) ApplyToSchema(s schema.Schema) error

func (*MinLength) ID

func (m *MinLength) ID() conflow.ID

type MinLengthInterpreter

type MinLengthInterpreter struct {
}

MinLengthInterpreter is the Conflow interpreter for the MinLength block

func (MinLengthInterpreter) CreateBlock

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

Create creates a new MinLength block

func (MinLengthInterpreter) Param

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

func (MinLengthInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MinLengthInterpreter) Schema

func (i MinLengthInterpreter) Schema() schema.Schema

func (MinLengthInterpreter) SetBlock

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

func (MinLengthInterpreter) SetParam

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

func (MinLengthInterpreter) ValueParamName

func (i MinLengthInterpreter) ValueParamName() conflow.ID

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

type MinProperties

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

@block "directive"

func (*MinProperties) ApplyToSchema

func (m *MinProperties) ApplyToSchema(s schema.Schema) error

func (*MinProperties) ID

func (m *MinProperties) ID() conflow.ID

type MinPropertiesInterpreter

type MinPropertiesInterpreter struct {
}

MinPropertiesInterpreter is the Conflow interpreter for the MinProperties block

func (MinPropertiesInterpreter) CreateBlock

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

Create creates a new MinProperties block

func (MinPropertiesInterpreter) Param

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

func (MinPropertiesInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MinPropertiesInterpreter) Schema

func (MinPropertiesInterpreter) SetBlock

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

func (MinPropertiesInterpreter) SetParam

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

func (MinPropertiesInterpreter) ValueParamName

func (i MinPropertiesInterpreter) ValueParamName() conflow.ID

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

type Minimum

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

@block "directive"

func (*Minimum) ApplyToSchema

func (m *Minimum) ApplyToSchema(s schema.Schema) error

func (*Minimum) ID

func (m *Minimum) ID() conflow.ID

type MinimumInterpreter

type MinimumInterpreter struct {
}

MinimumInterpreter is the Conflow interpreter for the Minimum block

func (MinimumInterpreter) CreateBlock

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

Create creates a new Minimum block

func (MinimumInterpreter) Param

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

func (MinimumInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MinimumInterpreter) Schema

func (i MinimumInterpreter) Schema() schema.Schema

func (MinimumInterpreter) SetBlock

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

func (MinimumInterpreter) SetParam

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

func (MinimumInterpreter) ValueParamName

func (i MinimumInterpreter) ValueParamName() conflow.ID

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

type MultipleOf

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

@block "directive"

func (*MultipleOf) ApplyToSchema

func (m *MultipleOf) ApplyToSchema(s schema.Schema) error

func (*MultipleOf) ID

func (m *MultipleOf) ID() conflow.ID

type MultipleOfInterpreter

type MultipleOfInterpreter struct {
}

MultipleOfInterpreter is the Conflow interpreter for the MultipleOf block

func (MultipleOfInterpreter) CreateBlock

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

Create creates a new MultipleOf block

func (MultipleOfInterpreter) Param

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

func (MultipleOfInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (MultipleOfInterpreter) Schema

func (i MultipleOfInterpreter) Schema() schema.Schema

func (MultipleOfInterpreter) SetBlock

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

func (MultipleOfInterpreter) SetParam

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

func (MultipleOfInterpreter) ValueParamName

func (i MultipleOfInterpreter) ValueParamName() conflow.ID

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

type Name

type Name struct {

	// @value
	// @required
	Value string
	// contains filtered or unexported fields
}

@block "directive"

func (*Name) ApplyToSchema

func (n *Name) ApplyToSchema(s schema.Schema) error

func (*Name) ID

func (n *Name) ID() conflow.ID

type NameInterpreter

type NameInterpreter struct {
}

NameInterpreter is the Conflow interpreter for the Name block

func (NameInterpreter) CreateBlock

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

Create creates a new Name block

func (NameInterpreter) Param

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

func (NameInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (NameInterpreter) Schema

func (i NameInterpreter) Schema() schema.Schema

func (NameInterpreter) SetBlock

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

func (NameInterpreter) SetParam

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

func (NameInterpreter) ValueParamName

func (i NameInterpreter) ValueParamName() conflow.ID

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

type Pattern

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

@block "directive"

func (*Pattern) ApplyToSchema

func (p *Pattern) ApplyToSchema(s schema.Schema) error

func (*Pattern) ID

func (p *Pattern) ID() conflow.ID

type PatternInterpreter

type PatternInterpreter struct {
}

PatternInterpreter is the Conflow interpreter for the Pattern block

func (PatternInterpreter) CreateBlock

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

Create creates a new Pattern block

func (PatternInterpreter) Param

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

func (PatternInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (PatternInterpreter) Schema

func (i PatternInterpreter) Schema() schema.Schema

func (PatternInterpreter) SetBlock

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

func (PatternInterpreter) SetParam

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

func (PatternInterpreter) ValueParamName

func (i PatternInterpreter) ValueParamName() conflow.ID

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

type ReadOnly

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

@block "directive"

func (*ReadOnly) ApplyToSchema

func (r *ReadOnly) ApplyToSchema(s schema.Schema) error

func (*ReadOnly) ID

func (r *ReadOnly) ID() conflow.ID

type ReadOnlyInterpreter

type ReadOnlyInterpreter struct {
}

ReadOnlyInterpreter is the Conflow interpreter for the ReadOnly block

func (ReadOnlyInterpreter) CreateBlock

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

Create creates a new ReadOnly block

func (ReadOnlyInterpreter) Param

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

func (ReadOnlyInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ReadOnlyInterpreter) Schema

func (i ReadOnlyInterpreter) Schema() schema.Schema

func (ReadOnlyInterpreter) SetBlock

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

func (ReadOnlyInterpreter) SetParam

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

func (ReadOnlyInterpreter) ValueParamName

func (i ReadOnlyInterpreter) ValueParamName() conflow.ID

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

type Required

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

@block "directive"

func (*Required) ApplyToSchema

func (r *Required) ApplyToSchema(s schema.Schema) error

func (*Required) ID

func (r *Required) ID() conflow.ID

type RequiredInterpreter

type RequiredInterpreter struct {
}

RequiredInterpreter is the Conflow interpreter for the Required block

func (RequiredInterpreter) CreateBlock

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

Create creates a new Required block

func (RequiredInterpreter) Param

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

func (RequiredInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (RequiredInterpreter) Schema

func (i RequiredInterpreter) Schema() schema.Schema

func (RequiredInterpreter) SetBlock

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

func (RequiredInterpreter) SetParam

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

func (RequiredInterpreter) ValueParamName

func (i RequiredInterpreter) ValueParamName() conflow.ID

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

type ResultType

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

@block "directive"

func (*ResultType) ApplyToSchema

func (r *ResultType) ApplyToSchema(s schema.Schema) error

func (*ResultType) ID

func (r *ResultType) ID() conflow.ID

type ResultTypeInterpreter

type ResultTypeInterpreter struct {
}

ResultTypeInterpreter is the Conflow interpreter for the ResultType block

func (ResultTypeInterpreter) CreateBlock

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

Create creates a new ResultType block

func (ResultTypeInterpreter) Param

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

func (ResultTypeInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ResultTypeInterpreter) Schema

func (i ResultTypeInterpreter) Schema() schema.Schema

func (ResultTypeInterpreter) SetBlock

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

func (ResultTypeInterpreter) SetParam

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

func (ResultTypeInterpreter) ValueParamName

func (i ResultTypeInterpreter) ValueParamName() conflow.ID

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

type Title

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

@block "directive"

func (*Title) ApplyToSchema

func (t *Title) ApplyToSchema(s schema.Schema) error

func (*Title) ID

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

type TitleInterpreter

type TitleInterpreter struct {
}

TitleInterpreter is the Conflow interpreter for the Title block

func (TitleInterpreter) CreateBlock

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

Create creates a new Title block

func (TitleInterpreter) Param

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

func (TitleInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (TitleInterpreter) Schema

func (i TitleInterpreter) Schema() schema.Schema

func (TitleInterpreter) SetBlock

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

func (TitleInterpreter) SetParam

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

func (TitleInterpreter) ValueParamName

func (i TitleInterpreter) ValueParamName() conflow.ID

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

type Types

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

@block "directive"

func (*Types) ApplyToSchema

func (t *Types) ApplyToSchema(s schema.Schema) error

func (*Types) ID

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

type TypesInterpreter

type TypesInterpreter struct {
}

TypesInterpreter is the Conflow interpreter for the Types block

func (TypesInterpreter) CreateBlock

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

Create creates a new Types block

func (TypesInterpreter) Param

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

func (TypesInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (TypesInterpreter) Schema

func (i TypesInterpreter) Schema() schema.Schema

func (TypesInterpreter) SetBlock

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

func (TypesInterpreter) SetParam

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

func (TypesInterpreter) ValueParamName

func (i TypesInterpreter) ValueParamName() conflow.ID

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

type UniqueItems

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

@block "directive"

func (*UniqueItems) ApplyToSchema

func (u *UniqueItems) ApplyToSchema(s schema.Schema) error

func (*UniqueItems) ID

func (u *UniqueItems) ID() conflow.ID

type UniqueItemsInterpreter

type UniqueItemsInterpreter struct {
}

UniqueItemsInterpreter is the Conflow interpreter for the UniqueItems block

func (UniqueItemsInterpreter) CreateBlock

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

Create creates a new UniqueItems block

func (UniqueItemsInterpreter) Param

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

func (UniqueItemsInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (UniqueItemsInterpreter) Schema

func (UniqueItemsInterpreter) SetBlock

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

func (UniqueItemsInterpreter) SetParam

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

func (UniqueItemsInterpreter) ValueParamName

func (i UniqueItemsInterpreter) ValueParamName() conflow.ID

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

type Value

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

@block "directive"

func (*Value) ApplyToSchema

func (v *Value) ApplyToSchema(s schema.Schema) error

func (*Value) ID

func (v *Value) ID() conflow.ID

type ValueInterpreter

type ValueInterpreter struct {
}

ValueInterpreter is the Conflow interpreter for the Value block

func (ValueInterpreter) CreateBlock

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

Create creates a new Value block

func (ValueInterpreter) Param

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

func (ValueInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ValueInterpreter) Schema

func (i ValueInterpreter) Schema() schema.Schema

func (ValueInterpreter) SetBlock

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

func (ValueInterpreter) SetParam

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

func (ValueInterpreter) ValueParamName

func (i ValueInterpreter) ValueParamName() conflow.ID

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

type WriteOnly

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

@block "directive"

func (*WriteOnly) ApplyToSchema

func (w *WriteOnly) ApplyToSchema(s schema.Schema) error

func (*WriteOnly) ID

func (w *WriteOnly) ID() conflow.ID

type WriteOnlyInterpreter

type WriteOnlyInterpreter struct {
}

WriteOnlyInterpreter is the Conflow interpreter for the WriteOnly block

func (WriteOnlyInterpreter) CreateBlock

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

Create creates a new WriteOnly block

func (WriteOnlyInterpreter) Param

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

func (WriteOnlyInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (WriteOnlyInterpreter) Schema

func (i WriteOnlyInterpreter) Schema() schema.Schema

func (WriteOnlyInterpreter) SetBlock

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

func (WriteOnlyInterpreter) SetParam

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

func (WriteOnlyInterpreter) ValueParamName

func (i WriteOnlyInterpreter) 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