Versions in this module Expand all Collapse all v4 v4.14.1 Apr 26, 2023 Changes in this version + type Environment struct + func GlobalEnvironment() *Environment + func NewEmptyEnvironment() *Environment + func NewEnvironment() *Environment + func (e *Environment) Deactivated() *Environment + func (e *Environment) NewField(expr string) (*field.Expression, error) + func (e *Environment) NewMapping(blobl string) (*mapping.Executor, error) + func (e *Environment) OnlyPure() *Environment + func (e *Environment) RegisterFunction(spec query.FunctionSpec, ctor query.FunctionCtor) error + func (e *Environment) RegisterMethod(spec query.MethodSpec, ctor query.MethodCtor) error + func (e *Environment) WalkFunctions(fn func(name string, spec query.FunctionSpec)) + func (e *Environment) WalkMethods(fn func(name string, spec query.MethodSpec)) + func (e *Environment) WithCustomImporter(fn func(name string) ([]byte, error)) *Environment + func (e *Environment) WithDisabledImports() *Environment + func (e *Environment) WithImporter(importer parser.Importer) *Environment + func (e *Environment) WithImporterRelativeToFile(filePath string) *Environment + func (e *Environment) WithMaxMapRecursion(n int) *Environment + func (e *Environment) WithoutFunctions(names ...string) *Environment + func (e *Environment) WithoutMethods(names ...string) *Environment Other modules containing this package github.com/dafanshu/benthos/v3