Documentation ¶
Index ¶
- Constants
- func GetConfirm(inputMsg string, defaultValue bool) bool
- func GetInput(inputMsg, helpMsg, defaultValue string, v survey.Validator) string
- func GetInputInt(inputMsg, helpMsg, defaultValue string, v survey.Validator) int
- func GetMultiInput(inputMsg, helpMsg string, defaultValue []string, v survey.Validator) []string
- func GetMultiSelect(inputMsg, helpMsg string, opts, defaultOpts []string, v survey.Validator) []string
- func GetMultiline(inputMsg, helpMsg, defaultValue string, v survey.Validator) string
- func GetPassword(inputMsg, helpMsg string) string
- func GetSelect(inputMsg, helpMsg string, opts []string, v survey.Validator) string
- func SurveySetIcons(icons *survey.IconSet)
- func ValidEmail(val interface{}) error
- func ValidFQDN(val interface{}) error
- func ValidID(val interface{}) error
- func ValidIPNetCIDR(val interface{}) error
- func ValidName(val interface{}) error
- func ValidNetwork(val interface{}) error
- func ValidPassword(val interface{}) error
- func ValidPort(val interface{}) error
- func ValidPrice(val interface{}) error
- func ValidSSHPublicKey(val interface{}) error
- func ValidTags(val interface{}) error
- func ValidUUID(id string) error
- func ValidUint(val interface{}) error
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 GetInputInt ¶
func GetMultiInput ¶
func GetMultiSelect ¶
func GetMultiline ¶
func GetPassword ¶
func SurveySetIcons ¶
func SurveySetIcons(icons *survey.IconSet)
func ValidEmail ¶
func ValidEmail(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 ValidPrice ¶
func ValidPrice(val interface{}) error
func ValidSSHPublicKey ¶
func ValidSSHPublicKey(val interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.