validation

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int64DivisibleBy

func Int64DivisibleBy(v int64) validator.Int64

Int64DivisbileBy returns an AttributeValidator which ensures that any configured attribute value:

  • Is a number, which can be represented by a 64-bit integer.
  • Is evenly divisible by a given number.

Null (unconfigured) and unknown (known after apply) values are skipped.

func IsValidRegExp added in v0.16.0

func IsValidRegExp() validator.String

IsValidRegExp returns an AttributeValidator which ensures that any configured attribute value is a valid regular expression.

Null (unconfigured) and unknown (known after apply) values are skipped.

Types

This section is empty.

Jump to

Keyboard shortcuts

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