Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoneOf ¶
func NoneOf(unacceptableValues ...attr.Value) tfsdk.AttributeValidator
NoneOf checks that the value held in the attribute is none of the given `unacceptableValues`.
This validator can be used only against primitives like `types.String`, `types.Number`, `types.Int64`, `types.Float64` and `types.Bool`.
func OneOf ¶
func OneOf(acceptableValues ...attr.Value) tfsdk.AttributeValidator
OneOf checks that the value held in the attribute is one of the given `acceptableValues`.
This validator can be used only against primitives like `types.String`, `types.Number`, `types.Int64`, `types.Float64` and `types.Bool`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.