input

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DNS1035LabelMaxLength int = 63

DNS1035LabelMaxLength is a label's max length in DNS (RFC 1035)

View Source
const NewResource = "<new>"

Variables

This section is empty.

Functions

func GetConfirm

func GetConfirm(inputMsg string, defaultValue bool) bool

func GetInput

func GetInput(inputMsg, helpMsg, defaultValue string, v survey.Validator) string

func GetInputInt

func GetInputInt(inputMsg, helpMsg, defaultValue string, v survey.Validator) int

func GetMultiInput added in v0.10.0

func GetMultiInput(inputMsg, helpMsg string, defaultValue []string, v survey.Validator) []string

func GetMultiSelect

func GetMultiSelect(inputMsg, helpMsg string, opts, defaultOpts []string, v survey.Validator) []string

func GetMultiline

func GetMultiline(inputMsg, helpMsg, defaultValue string, v survey.Validator) string

func GetPassword

func GetPassword(inputMsg, helpMsg string) string

func GetSelect

func GetSelect(inputMsg, helpMsg string, opts []string, v survey.Validator) string

func SurveySetIcons

func SurveySetIcons(icons *survey.IconSet)

func ValidEmail

func ValidEmail(val interface{}) error

func ValidFQDN added in v0.10.0

func ValidFQDN(val interface{}) error

func ValidID

func ValidID(val interface{}) error

func ValidIPNetCIDR

func ValidIPNetCIDR(val interface{}) error

func ValidName added in v0.10.0

func ValidName(val interface{}) error

func ValidNetwork

func ValidNetwork(val interface{}) error

func ValidPassword

func ValidPassword(val interface{}) error

func ValidPort

func ValidPort(val interface{}) error

func ValidPrice

func ValidPrice(val interface{}) error

func ValidSSHPublicKey

func ValidSSHPublicKey(val interface{}) error

func ValidTags added in v0.10.0

func ValidTags(val interface{}) error

func ValidUUID added in v0.4.0

func ValidUUID(id string) error

func ValidUint

func ValidUint(val interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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