Documentation ¶
Overview ¶
hcpvalidator package providers validators for common HCP request attributes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayName ¶
DisplayName returns an AttributeValidator which ensures that any configured attribute value:
- Is a string.
- Consists of only characters that are valid for a display name
Null (unconfigured) and unknown (known after apply) values are skipped.
func ResourceNamePart ¶
ResourceNamePart returns an AttributeValidator which ensures that any configured attribute value:
- Is a string.
- Consists of only characters that are valid for a resource name part
Length is not enforced, and should be validated separately. Null (unconfigured) and unknown (known after apply) values are skipped.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.