blocks

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterpreterRegistry

func InterpreterRegistry() block.InterpreterRegistry

Types

type AllOf

type AllOf struct {
	schema.AllOf
}

@block "configuration"

func (*AllOf) ParseContextOverride

func (a *AllOf) ParseContextOverride() conflow.ParseContextOverride

type AllOfInterpreter

type AllOfInterpreter struct {
}

AllOfInterpreter is the Conflow interpreter for the AllOf block

func (AllOfInterpreter) CreateBlock

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

Create creates a new AllOf block

func (AllOfInterpreter) Param

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

func (AllOfInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (AllOfInterpreter) Schema

func (i AllOfInterpreter) Schema() schema.Schema

func (AllOfInterpreter) SetBlock

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

func (AllOfInterpreter) SetParam

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

func (AllOfInterpreter) ValueParamName

func (i AllOfInterpreter) ValueParamName() conflow.ID

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

type Array

type Array struct {
	schema.Array
}

@block "configuration"

func (*Array) ParseContextOverride

func (a *Array) ParseContextOverride() conflow.ParseContextOverride

type ArrayInterpreter

type ArrayInterpreter struct {
}

ArrayInterpreter is the Conflow interpreter for the Array block

func (ArrayInterpreter) CreateBlock

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

Create creates a new Array block

func (ArrayInterpreter) Param

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

func (ArrayInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ArrayInterpreter) Schema

func (i ArrayInterpreter) Schema() schema.Schema

func (ArrayInterpreter) SetBlock

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

func (ArrayInterpreter) SetParam

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

func (ArrayInterpreter) ValueParamName

func (i ArrayInterpreter) ValueParamName() conflow.ID

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

type Boolean

type Boolean struct {
	schema.Boolean
}

@block "configuration"

type BooleanInterpreter

type BooleanInterpreter struct {
}

BooleanInterpreter is the Conflow interpreter for the Boolean block

func (BooleanInterpreter) CreateBlock

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

Create creates a new Boolean block

func (BooleanInterpreter) Param

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

func (BooleanInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (BooleanInterpreter) Schema

func (i BooleanInterpreter) Schema() schema.Schema

func (BooleanInterpreter) SetBlock

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

func (BooleanInterpreter) SetParam

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

func (BooleanInterpreter) ValueParamName

func (i BooleanInterpreter) ValueParamName() conflow.ID

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

type Integer

type Integer struct {
	schema.Integer
}

@block "configuration"

type IntegerInterpreter

type IntegerInterpreter struct {
}

IntegerInterpreter is the Conflow interpreter for the Integer block

func (IntegerInterpreter) CreateBlock

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

Create creates a new Integer block

func (IntegerInterpreter) Param

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

func (IntegerInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (IntegerInterpreter) Schema

func (i IntegerInterpreter) Schema() schema.Schema

func (IntegerInterpreter) SetBlock

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

func (IntegerInterpreter) SetParam

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

func (IntegerInterpreter) ValueParamName

func (i IntegerInterpreter) ValueParamName() conflow.ID

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

type Map

type Map struct {
	schema.Map
}

@block "configuration"

func (*Map) ParseContextOverride

func (m *Map) ParseContextOverride() conflow.ParseContextOverride

type MapInterpreter

type MapInterpreter struct {
}

MapInterpreter is the Conflow interpreter for the Map block

func (MapInterpreter) CreateBlock

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

Create creates a new Map block

func (MapInterpreter) Param

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

func (MapInterpreter) ParseContext

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

ParseContext returns with the parse context for the block

func (MapInterpreter) Schema

func (i MapInterpreter) Schema() schema.Schema

func (MapInterpreter) SetBlock

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

func (MapInterpreter) SetParam

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

func (MapInterpreter) ValueParamName

func (i MapInterpreter) ValueParamName() conflow.ID

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

type Number

type Number struct {
	schema.Number
}

@block "configuration"

type NumberInterpreter

type NumberInterpreter struct {
}

NumberInterpreter is the Conflow interpreter for the Number block

func (NumberInterpreter) CreateBlock

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

Create creates a new Number block

func (NumberInterpreter) Param

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

func (NumberInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (NumberInterpreter) Schema

func (i NumberInterpreter) Schema() schema.Schema

func (NumberInterpreter) SetBlock

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

func (NumberInterpreter) SetParam

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

func (NumberInterpreter) ValueParamName

func (i NumberInterpreter) ValueParamName() conflow.ID

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

type Object

type Object struct {
	schema.Object
}

@block "configuration"

func (*Object) ParseContextOverride

func (o *Object) ParseContextOverride() conflow.ParseContextOverride

type ObjectInterpreter

type ObjectInterpreter struct {
}

ObjectInterpreter is the Conflow interpreter for the Object block

func (ObjectInterpreter) CreateBlock

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

Create creates a new Object block

func (ObjectInterpreter) Param

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

func (ObjectInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ObjectInterpreter) Schema

func (i ObjectInterpreter) Schema() schema.Schema

func (ObjectInterpreter) SetBlock

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

func (ObjectInterpreter) SetParam

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

func (ObjectInterpreter) ValueParamName

func (i ObjectInterpreter) ValueParamName() conflow.ID

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

type Reference

type Reference struct {
	schema.Reference
}

@block "configuration"

type ReferenceInterpreter

type ReferenceInterpreter struct {
}

ReferenceInterpreter is the Conflow interpreter for the Reference block

func (ReferenceInterpreter) CreateBlock

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

Create creates a new Reference block

func (ReferenceInterpreter) Param

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

func (ReferenceInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (ReferenceInterpreter) Schema

func (i ReferenceInterpreter) Schema() schema.Schema

func (ReferenceInterpreter) SetBlock

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

func (ReferenceInterpreter) SetParam

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

func (ReferenceInterpreter) ValueParamName

func (i ReferenceInterpreter) ValueParamName() conflow.ID

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

type String

type String struct {
	schema.String
}

@block "configuration"

type StringInterpreter

type StringInterpreter struct {
}

StringInterpreter is the Conflow interpreter for the String block

func (StringInterpreter) CreateBlock

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

Create creates a new String block

func (StringInterpreter) Param

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

func (StringInterpreter) ParseContext

ParseContext returns with the parse context for the block

func (StringInterpreter) Schema

func (i StringInterpreter) Schema() schema.Schema

func (StringInterpreter) SetBlock

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

func (StringInterpreter) SetParam

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

func (StringInterpreter) ValueParamName

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