input

package
v0.0.0-...-873fb03 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TextType                  = "text"
	ListType                  = "list"
	BoolType                  = "bool"
	PassType                  = "password"
	PathType                  = "path"
	DynamicType               = "dynamic"
	MultiselectType           = "multiselect"
	MultiselectSeparator      = "|"
	InputConditionalSeparator = "|"
	TypeSuffix                = "__type"
)

Variables

This section is empty.

Functions

func AddEnv

func AddEnv(cmd *exec.Cmd, inName, inValue string)

addEnv Add environment variable to run formulas. add the variable inName=inValue to cmd.Env

func HasRegex

func HasRegex(input formula.Input) bool

func IsRequired

func IsRequired(input formula.Input) bool

func VerifyConditional

func VerifyConditional(cmd *exec.Cmd, input formula.Input, inputList formula.Inputs) (bool, error)

Types

type InputTextDefault

type InputTextDefault interface {
	Text(input formula.Input) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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