Documentation ¶
Index ¶
- func Registry() block.InterpreterRegistry
- type Block
- 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 Const
- type ConstInterpreter
- func (i ConstInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ConstInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ConstInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ConstInterpreter) Schema() schema.Schema
- func (i ConstInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ConstInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ConstInterpreter) ValueParamName() conflow.ID
- type Default
- type DefaultInterpreter
- func (i DefaultInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i DefaultInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i DefaultInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i DefaultInterpreter) Schema() schema.Schema
- func (i DefaultInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i DefaultInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i DefaultInterpreter) ValueParamName() conflow.ID
- type Dependency
- type DependencyInterpreter
- func (i DependencyInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i DependencyInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i DependencyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i DependencyInterpreter) Schema() schema.Schema
- func (i DependencyInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i DependencyInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i DependencyInterpreter) ValueParamName() conflow.ID
- type DependentRequired
- type DependentRequiredInterpreter
- func (i DependentRequiredInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i DependentRequiredInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i DependentRequiredInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i DependentRequiredInterpreter) Schema() schema.Schema
- func (i DependentRequiredInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i DependentRequiredInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i DependentRequiredInterpreter) ValueParamName() conflow.ID
- type Deprecated
- type DeprecatedInterpreter
- func (i DeprecatedInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i DeprecatedInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i DeprecatedInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i DeprecatedInterpreter) Schema() schema.Schema
- func (i DeprecatedInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i DeprecatedInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i DeprecatedInterpreter) ValueParamName() conflow.ID
- type Enum
- type EnumInterpreter
- func (i EnumInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i EnumInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i EnumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i EnumInterpreter) Schema() schema.Schema
- func (i EnumInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i EnumInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i EnumInterpreter) ValueParamName() conflow.ID
- type EvalStage
- type EvalStageInterpreter
- func (i EvalStageInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i EvalStageInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i EvalStageInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i EvalStageInterpreter) Schema() schema.Schema
- func (i EvalStageInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i EvalStageInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i EvalStageInterpreter) ValueParamName() conflow.ID
- type Examples
- type ExamplesInterpreter
- func (i ExamplesInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ExamplesInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ExamplesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ExamplesInterpreter) Schema() schema.Schema
- func (i ExamplesInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ExamplesInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ExamplesInterpreter) ValueParamName() conflow.ID
- type ExclusiveMaximum
- type ExclusiveMaximumInterpreter
- func (i ExclusiveMaximumInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ExclusiveMaximumInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ExclusiveMaximumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ExclusiveMaximumInterpreter) Schema() schema.Schema
- func (i ExclusiveMaximumInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ExclusiveMaximumInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ExclusiveMaximumInterpreter) ValueParamName() conflow.ID
- type ExclusiveMinimum
- type ExclusiveMinimumInterpreter
- func (i ExclusiveMinimumInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ExclusiveMinimumInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ExclusiveMinimumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ExclusiveMinimumInterpreter) Schema() schema.Schema
- func (i ExclusiveMinimumInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ExclusiveMinimumInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ExclusiveMinimumInterpreter) ValueParamName() conflow.ID
- type Format
- type FormatInterpreter
- func (i FormatInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i FormatInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i FormatInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i FormatInterpreter) Schema() schema.Schema
- func (i FormatInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i FormatInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i FormatInterpreter) ValueParamName() conflow.ID
- type Function
- type FunctionInterpreter
- func (i FunctionInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i FunctionInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i FunctionInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i FunctionInterpreter) Schema() schema.Schema
- func (i FunctionInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i FunctionInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i FunctionInterpreter) ValueParamName() conflow.ID
- type Generated
- type GeneratedInterpreter
- func (i GeneratedInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i GeneratedInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i GeneratedInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i GeneratedInterpreter) Schema() schema.Schema
- func (i GeneratedInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i GeneratedInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i GeneratedInterpreter) ValueParamName() conflow.ID
- type ID
- type IDInterpreter
- func (i IDInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i IDInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i IDInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i IDInterpreter) Schema() schema.Schema
- func (i IDInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i IDInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i IDInterpreter) ValueParamName() conflow.ID
- type Ignore
- type IgnoreInterpreter
- func (i IgnoreInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i IgnoreInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i IgnoreInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i IgnoreInterpreter) Schema() schema.Schema
- func (i IgnoreInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i IgnoreInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i IgnoreInterpreter) ValueParamName() conflow.ID
- type Key
- type KeyInterpreter
- func (i KeyInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i KeyInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i KeyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i KeyInterpreter) Schema() schema.Schema
- func (i KeyInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i KeyInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i KeyInterpreter) ValueParamName() conflow.ID
- type MaxItems
- type MaxItemsInterpreter
- func (i MaxItemsInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MaxItemsInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MaxItemsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MaxItemsInterpreter) Schema() schema.Schema
- func (i MaxItemsInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MaxItemsInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MaxItemsInterpreter) ValueParamName() conflow.ID
- type MaxLength
- type MaxLengthInterpreter
- func (i MaxLengthInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MaxLengthInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MaxLengthInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MaxLengthInterpreter) Schema() schema.Schema
- func (i MaxLengthInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MaxLengthInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MaxLengthInterpreter) ValueParamName() conflow.ID
- type MaxProperties
- type MaxPropertiesInterpreter
- func (i MaxPropertiesInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MaxPropertiesInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MaxPropertiesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MaxPropertiesInterpreter) Schema() schema.Schema
- func (i MaxPropertiesInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MaxPropertiesInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MaxPropertiesInterpreter) ValueParamName() conflow.ID
- type Maximum
- type MaximumInterpreter
- func (i MaximumInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MaximumInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MaximumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MaximumInterpreter) Schema() schema.Schema
- func (i MaximumInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MaximumInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MaximumInterpreter) ValueParamName() conflow.ID
- type MinItems
- type MinItemsInterpreter
- func (i MinItemsInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MinItemsInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MinItemsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MinItemsInterpreter) Schema() schema.Schema
- func (i MinItemsInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MinItemsInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MinItemsInterpreter) ValueParamName() conflow.ID
- type MinLength
- type MinLengthInterpreter
- func (i MinLengthInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MinLengthInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MinLengthInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MinLengthInterpreter) Schema() schema.Schema
- func (i MinLengthInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MinLengthInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MinLengthInterpreter) ValueParamName() conflow.ID
- type MinProperties
- type MinPropertiesInterpreter
- func (i MinPropertiesInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MinPropertiesInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MinPropertiesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MinPropertiesInterpreter) Schema() schema.Schema
- func (i MinPropertiesInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MinPropertiesInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MinPropertiesInterpreter) ValueParamName() conflow.ID
- type Minimum
- type MinimumInterpreter
- func (i MinimumInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MinimumInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MinimumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MinimumInterpreter) Schema() schema.Schema
- func (i MinimumInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MinimumInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MinimumInterpreter) ValueParamName() conflow.ID
- type MultipleOf
- type MultipleOfInterpreter
- func (i MultipleOfInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i MultipleOfInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i MultipleOfInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i MultipleOfInterpreter) Schema() schema.Schema
- func (i MultipleOfInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i MultipleOfInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i MultipleOfInterpreter) ValueParamName() conflow.ID
- type Name
- type NameInterpreter
- func (i NameInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i NameInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i NameInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i NameInterpreter) Schema() schema.Schema
- func (i NameInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i NameInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i NameInterpreter) ValueParamName() conflow.ID
- type Pattern
- type PatternInterpreter
- func (i PatternInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i PatternInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i PatternInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i PatternInterpreter) Schema() schema.Schema
- func (i PatternInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i PatternInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i PatternInterpreter) ValueParamName() conflow.ID
- type ReadOnly
- type ReadOnlyInterpreter
- func (i ReadOnlyInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ReadOnlyInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ReadOnlyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ReadOnlyInterpreter) Schema() schema.Schema
- func (i ReadOnlyInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ReadOnlyInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ReadOnlyInterpreter) ValueParamName() conflow.ID
- type Required
- type RequiredInterpreter
- func (i RequiredInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i RequiredInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i RequiredInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i RequiredInterpreter) Schema() schema.Schema
- func (i RequiredInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i RequiredInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i RequiredInterpreter) ValueParamName() conflow.ID
- type ResultType
- type ResultTypeInterpreter
- func (i ResultTypeInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ResultTypeInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ResultTypeInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ResultTypeInterpreter) Schema() schema.Schema
- func (i ResultTypeInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ResultTypeInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ResultTypeInterpreter) ValueParamName() conflow.ID
- type Title
- type TitleInterpreter
- func (i TitleInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i TitleInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i TitleInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i TitleInterpreter) Schema() schema.Schema
- func (i TitleInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i TitleInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i TitleInterpreter) ValueParamName() conflow.ID
- type Types
- type TypesInterpreter
- func (i TypesInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i TypesInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i TypesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i TypesInterpreter) Schema() schema.Schema
- func (i TypesInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i TypesInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i TypesInterpreter) ValueParamName() conflow.ID
- type UniqueItems
- type UniqueItemsInterpreter
- func (i UniqueItemsInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i UniqueItemsInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i UniqueItemsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i UniqueItemsInterpreter) Schema() schema.Schema
- func (i UniqueItemsInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i UniqueItemsInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i UniqueItemsInterpreter) ValueParamName() conflow.ID
- type Value
- type ValueInterpreter
- func (i ValueInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i ValueInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i ValueInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i ValueInterpreter) Schema() schema.Schema
- func (i ValueInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i ValueInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i ValueInterpreter) ValueParamName() conflow.ID
- type WriteOnly
- type WriteOnlyInterpreter
- func (i WriteOnlyInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
- func (i WriteOnlyInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
- func (i WriteOnlyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
- func (i WriteOnlyInterpreter) Schema() schema.Schema
- func (i WriteOnlyInterpreter) SetBlock(block conflow.Block, name conflow.ID, key string, value interface{}) error
- func (i WriteOnlyInterpreter) SetParam(block conflow.Block, name conflow.ID, value interface{}) error
- func (i WriteOnlyInterpreter) ValueParamName() conflow.ID
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"
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 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 ¶
func (i ConstInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ConstInterpreter) Schema ¶
func (i ConstInterpreter) Schema() schema.Schema
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 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 ¶
func (i DefaultInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (DefaultInterpreter) Schema ¶
func (i DefaultInterpreter) Schema() schema.Schema
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 ¶
func (i DependencyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (DependencyInterpreter) Schema ¶
func (i DependencyInterpreter) Schema() schema.Schema
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 ¶
func (i DependentRequiredInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new DependentRequired block
func (DependentRequiredInterpreter) Param ¶
func (i DependentRequiredInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (DependentRequiredInterpreter) ParseContext ¶
func (i DependentRequiredInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (DependentRequiredInterpreter) Schema ¶
func (i DependentRequiredInterpreter) Schema() schema.Schema
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 ¶
func (i DeprecatedInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (DeprecatedInterpreter) Schema ¶
func (i DeprecatedInterpreter) Schema() schema.Schema
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 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 ¶
func (i EnumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (EnumInterpreter) Schema ¶
func (i EnumInterpreter) Schema() schema.Schema
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"
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 ¶
func (i EvalStageInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (EvalStageInterpreter) Schema ¶
func (i EvalStageInterpreter) Schema() schema.Schema
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"
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 ¶
func (i ExamplesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ExamplesInterpreter) Schema ¶
func (i ExamplesInterpreter) Schema() schema.Schema
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 ¶
func (i ExclusiveMaximumInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new ExclusiveMaximum block
func (ExclusiveMaximumInterpreter) Param ¶
func (i ExclusiveMaximumInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ExclusiveMaximumInterpreter) ParseContext ¶
func (i ExclusiveMaximumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ExclusiveMaximumInterpreter) Schema ¶
func (i ExclusiveMaximumInterpreter) Schema() schema.Schema
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 ¶
func (i ExclusiveMinimumInterpreter) CreateBlock(id conflow.ID, blockCtx *conflow.BlockContext) conflow.Block
Create creates a new ExclusiveMinimum block
func (ExclusiveMinimumInterpreter) Param ¶
func (i ExclusiveMinimumInterpreter) Param(b conflow.Block, name conflow.ID) interface{}
func (ExclusiveMinimumInterpreter) ParseContext ¶
func (i ExclusiveMinimumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ExclusiveMinimumInterpreter) Schema ¶
func (i ExclusiveMinimumInterpreter) Schema() schema.Schema
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 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 ¶
func (i FormatInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (FormatInterpreter) Schema ¶
func (i FormatInterpreter) Schema() schema.Schema
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"
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 ¶
func (i FunctionInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (FunctionInterpreter) Schema ¶
func (i FunctionInterpreter) Schema() schema.Schema
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"
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 ¶
func (i GeneratedInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (GeneratedInterpreter) Schema ¶
func (i GeneratedInterpreter) Schema() schema.Schema
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 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) ValueParamName ¶
func (i IDInterpreter) ValueParamName() conflow.ID
ValueParamName returns the name of the parameter marked as value field, if there is one set
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 ¶
func (i IgnoreInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (IgnoreInterpreter) Schema ¶
func (i IgnoreInterpreter) Schema() schema.Schema
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 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) 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"
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 ¶
func (i MaxItemsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MaxItemsInterpreter) Schema ¶
func (i MaxItemsInterpreter) Schema() schema.Schema
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"
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 ¶
func (i MaxLengthInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MaxLengthInterpreter) Schema ¶
func (i MaxLengthInterpreter) Schema() schema.Schema
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 ¶
func (i MaxPropertiesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MaxPropertiesInterpreter) Schema ¶
func (i MaxPropertiesInterpreter) Schema() schema.Schema
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 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 ¶
func (i MaximumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MaximumInterpreter) Schema ¶
func (i MaximumInterpreter) Schema() schema.Schema
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"
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 ¶
func (i MinItemsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MinItemsInterpreter) Schema ¶
func (i MinItemsInterpreter) Schema() schema.Schema
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"
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 ¶
func (i MinLengthInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MinLengthInterpreter) Schema ¶
func (i MinLengthInterpreter) Schema() schema.Schema
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 ¶
func (i MinPropertiesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MinPropertiesInterpreter) Schema ¶
func (i MinPropertiesInterpreter) Schema() schema.Schema
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 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 ¶
func (i MinimumInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MinimumInterpreter) Schema ¶
func (i MinimumInterpreter) Schema() schema.Schema
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 ¶
func (i MultipleOfInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (MultipleOfInterpreter) Schema ¶
func (i MultipleOfInterpreter) Schema() schema.Schema
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"
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 ¶
func (i NameInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (NameInterpreter) Schema ¶
func (i NameInterpreter) Schema() schema.Schema
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 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 ¶
func (i PatternInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (PatternInterpreter) Schema ¶
func (i PatternInterpreter) Schema() schema.Schema
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"
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 ¶
func (i ReadOnlyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ReadOnlyInterpreter) Schema ¶
func (i ReadOnlyInterpreter) Schema() schema.Schema
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"
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 ¶
func (i RequiredInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (RequiredInterpreter) Schema ¶
func (i RequiredInterpreter) Schema() schema.Schema
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 ¶
func (i ResultTypeInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ResultTypeInterpreter) Schema ¶
func (i ResultTypeInterpreter) Schema() schema.Schema
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 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 ¶
func (i TitleInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (TitleInterpreter) Schema ¶
func (i TitleInterpreter) Schema() schema.Schema
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 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 ¶
func (i TypesInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (TypesInterpreter) Schema ¶
func (i TypesInterpreter) Schema() schema.Schema
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 ¶
func (i UniqueItemsInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (UniqueItemsInterpreter) Schema ¶
func (i UniqueItemsInterpreter) Schema() schema.Schema
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 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 ¶
func (i ValueInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (ValueInterpreter) Schema ¶
func (i ValueInterpreter) Schema() schema.Schema
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"
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 ¶
func (i WriteOnlyInterpreter) ParseContext(ctx *conflow.ParseContext) *conflow.ParseContext
ParseContext returns with the parse context for the block
func (WriteOnlyInterpreter) Schema ¶
func (i WriteOnlyInterpreter) Schema() schema.Schema
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
Source Files ¶
- block.cf.go
- block.go
- const.cf.go
- const.go
- default.cf.go
- default.go
- dependency.cf.go
- dependency.go
- dependent_required.cf.go
- dependent_required.go
- deprecated.cf.go
- deprecated.go
- directives.go
- enum.cf.go
- enum.go
- eval_stage.cf.go
- eval_stage.go
- examples.cf.go
- examples.go
- exclusive_maximum.cf.go
- exclusive_maximum.go
- exclusive_minimum.cf.go
- exclusive_minimum.go
- format.cf.go
- format.go
- function.cf.go
- function.go
- generated.cf.go
- generated.go
- id.cf.go
- id.go
- ignore.cf.go
- ignore.go
- key.cf.go
- key.go
- max_items.cf.go
- max_items.go
- max_length.cf.go
- max_length.go
- max_properties.cf.go
- max_properties.go
- maximum.cf.go
- maximum.go
- min_items.cf.go
- min_items.go
- min_length.cf.go
- min_length.go
- min_properties.cf.go
- min_properties.go
- minimum.cf.go
- minimum.go
- multiple_of.cf.go
- multiple_of.go
- name.cf.go
- name.go
- pattern.cf.go
- pattern.go
- read_only.cf.go
- read_only.go
- required.cf.go
- required.go
- result_type.cf.go
- result_type.go
- title.cf.go
- title.go
- types.cf.go
- types.go
- unique_items.cf.go
- unique_items.go
- value.cf.go
- value.go
- write_only.cf.go
- write_only.go