input

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

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 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 ValidID

func ValidID(val interface{}) error

func ValidIPNetCIDR

func ValidIPNetCIDR(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 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
JackTT - Gopher 🇻🇳