int64validator

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MPL-2.0 Imports: 5 Imported by: 149

Documentation

Overview

Package int64validator provides validators for types.Int64 attributes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtLeast

func AtLeast(min int64) tfsdk.AttributeValidator

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

  • Is a number, which can be represented by a 64-bit integer.
  • Is exclusively greater than the given minimum.

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

func AtMost

func AtMost(max int64) tfsdk.AttributeValidator

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

  • Is a number, which can be represented by a 64-bit integer.
  • Is exclusively less than the given maximum.

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

func Between

func Between(min, max int64) tfsdk.AttributeValidator

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

  • Is a number, which can be represented by a 64-bit integer.
  • Is exclusively greater than the given minimum and less than the given maximum.

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