validators

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlsoRequiresOnBoolValue

func AlsoRequiresOnBoolValue(onValue bool, expressions ...path.Expression) validator.Bool

func AlsoRequiresOnObjectValues

func AlsoRequiresOnObjectValues(onValues []attr.Value, expressions ...path.Expression) validator.Object

func AlsoRequiresOnStringValues

func AlsoRequiresOnStringValues(onValues []string, expressions ...path.Expression) validator.String

func TagsContainNoDuplicateKeys

func TagsContainNoDuplicateKeys() tagsContainNoDuplicateKeys

func ValidateCloudIntegrationInstanceName

func ValidateCloudIntegrationInstanceName() validateCloudIntegrationInstanceName

Types

type AlsoRequiresOnValuesValidator

type AlsoRequiresOnValuesValidator struct {
	OnStringValues  []string
	OnBoolValues    []bool
	OnObjectValues  []attr.Value
	PathExpressions path.Expressions
}

func (AlsoRequiresOnValuesValidator) Description

func (AlsoRequiresOnValuesValidator) MarkdownDescription

func (v AlsoRequiresOnValuesValidator) MarkdownDescription(ctx context.Context) string

func (AlsoRequiresOnValuesValidator) ValidateBool

ValidateBool implements validator.Bool.

func (AlsoRequiresOnValuesValidator) ValidateObject

ValidateObject implements validator.Object.

func (AlsoRequiresOnValuesValidator) ValidateString

ValidateString implements validator.String.

type AlsoRequiresOnValuesValidatorRequest

type AlsoRequiresOnValuesValidatorRequest struct {
	Config         tfsdk.Config
	ConfigValue    attr.Value
	Path           path.Path
	PathExpression path.Expression
	ValuesMessage  string
}

type AlsoRequiresOnValuesValidatorResponse

type AlsoRequiresOnValuesValidatorResponse struct {
	Diagnostics diag.Diagnostics
}

Jump to

Keyboard shortcuts

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