validate

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleHyphens

func DoubleHyphens(resourceName string, resourceType string) (bool, diag.Diagnostics)

DoubleHyphens validate resourceName with double hyphens regex

func Length

func Length(resourceName string, resourceType string, maxLength int) (bool, diag.Diagnostics)

Length resourceName against MaxLength

func RegEx

func RegEx(resourceName string, resourceType string, validationRegEx string) (bool, diag.Diagnostics)

RegEx validate resourceName using validationRegEx

Types

This section is empty.

Jump to

Keyboard shortcuts

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