variables

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0, MIT Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iterator

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

func (*Iterator) SetString

func (i *Iterator) SetString(s string)

func (*Iterator) String

func (i *Iterator) String() string

type StringVar

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

func (*StringVar) SetString

func (sv *StringVar) SetString(s string)

func (*StringVar) String

func (sv *StringVar) String() string

type TestVariables

type TestVariables struct {
	sync.RWMutex
	// contains filtered or unexported fields
}
var GlobalVar *TestVariables = NewVariables()

func NewVariables

func NewVariables() *TestVariables

func (*TestVariables) GetAvailableVariables

func (tv *TestVariables) GetAvailableVariables() []string

func (*TestVariables) GetVar

func (tv *TestVariables) GetVar(name string) string

func (*TestVariables) SetIterator

func (tv *TestVariables) SetIterator(name string, min int, max int) error

func (*TestVariables) SetVar

func (tv *TestVariables) SetVar(name string, value string)

func (*TestVariables) SetVarRegex

func (tv *TestVariables) SetVarRegex(regex string, name string, s string)

func (*TestVariables) UpdateVars

func (tv *TestVariables) UpdateVars(vars *TestVariables)

type Variable

type Variable interface {
	String() string
	SetString(string)
}

Jump to

Keyboard shortcuts

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