validation

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePassword

func ValidatePassword(i interface{}, k string) (s []string, errs []error)

ValidatePassword checks that your password meets the Snowflake Password Policy

Must be at least 8 characters long. Must contain at least 1 digit. Must contain at least 1 uppercase letter and 1 lowercase letter. lintignore:V011

func ValidatePrivilege

func ValidatePrivilege(valid []string, ignoreCase bool) schema.SchemaValidateFunc

ValidatePrivilege validates the privilege is in the authorized set. Will also check for the ALL privilege and hopefully provide a helpful error message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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