Documentation
¶
Index ¶
- func Email(email string) bool
- func IsNumber(value int, min int, max int) bool
- func IsPositiveNumber(value int) bool
- func IsTime(time string) bool
- func MaxLength(text string, length int) bool
- func Name(name string) bool
- func OneOf(value string, values []string) bool
- func Password(password string) bool
- func Required(text string) bool
- func SSHPrivateKey(key string) bool
- func SSHPublicKeys(keys string) bool
- func Subdomain(subdomain string) bool
- func TokenName(name string) bool
- func UUID(uuid string) bool
- func Uri(uri string) bool
- func Username(name string) bool
- func ValidateStackDefinition(req *apiclient.StackDefinitionRequest) []apiclient.ValidationError
- func VarName(name string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPositiveNumber ¶
func SSHPrivateKey ¶ added in v0.25.0
func SSHPublicKeys ¶ added in v0.25.0
func ValidateStackDefinition ¶ added in v0.24.0
func ValidateStackDefinition(req *apiclient.StackDefinitionRequest) []apiclient.ValidationError
ValidateStackDefinition checks structural validity of a stack definition request. Returns a slice of validation errors (empty if valid).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.