validation

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateFullyQualifiedTagID added in v0.42.0

func ValidateFullyQualifiedTagID(i interface{}, k string) (s []string, errors []error)

func ValidateIsNotAccountLocator added in v0.38.0

func ValidateIsNotAccountLocator(i interface{}, k string) (s []string, errors []error)

ValidateIsNotAccountLocator validates that the account value is not an account locator. Account locators have the following format: 8 characters where the first 3 characters are letters and the last 5 are digits. ex: ABC12345 The desired format should be 'organization_name.account_name' ex: testOrgName.testAccName

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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