Documentation ¶
Index ¶
- func ConvertToRef(val interface{}) (*ref.MappingRef, error)
- func ConvertToValue(value interface{}, dataType funcexprtype.Type) (interface{}, error)
- func HandleToSingleOutput(values interface{}) interface{}
- func ListAllFunctions() []string
- func Registry(f Function)
- type Func
- type Function
- type FunctionExp
- type Parameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToRef ¶
func ConvertToRef(val interface{}) (*ref.MappingRef, error)
func ConvertToValue ¶
func ConvertToValue(value interface{}, dataType funcexprtype.Type) (interface{}, error)
func HandleToSingleOutput ¶
func HandleToSingleOutput(values interface{}) interface{}
func ListAllFunctions ¶
func ListAllFunctions() []string
Types ¶
type Function ¶
func GetFunction ¶
type FunctionExp ¶
func ConvertToFunction ¶
func ConvertToFunction(val interface{}) (*FunctionExp, error)
func (*FunctionExp) Eval ¶
func (f *FunctionExp) Eval() (interface{}, error)
func (*FunctionExp) EvalWithData ¶
func (*FunctionExp) EvalWithScope ¶
type Parameter ¶
type Parameter struct { Function *FunctionExp `json:"function"` Type funcexprtype.Type `json:"type"` Value interface{} `json:"value"` }
func (*Parameter) IsFunction ¶
func (*Parameter) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.