vars

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVariables

func NewVariables(parentScope types.Variables) types.Variables

Types

type Variables

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

func (*Variables) ConsumeVars

func (v *Variables) ConsumeVars(config interface{}, consumeMap map[string]string) error

func (*Variables) CopyVars

func (v *Variables) CopyVars(source types.Variables, copyMap map[string]string)

func (*Variables) GetVar

func (v *Variables) GetVar(name string) interface{}

func (*Variables) LookupVar

func (v *Variables) LookupVar(name string) (interface{}, bool)

func (*Variables) NewScope

func (v *Variables) NewScope() types.Variables

func (*Variables) ResolvePlaceholders

func (v *Variables) ResolvePlaceholders(str string) string

func (*Variables) SetVar

func (v *Variables) SetVar(name string, value interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL