netlify_validators

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForbiddenIfEquals added in v0.0.2

func ForbiddenIfEquals(predicateValue string, pathExpressions ...path.Expression) validator.String

func RequiredIfEquals

func RequiredIfEquals(predicateValue string, pathExpressions ...path.Expression) validator.String

Types

type EnvironmentVariableContextParameterValidator

type EnvironmentVariableContextParameterValidator struct {
	ContextPathExpression path.Expression
}

func (EnvironmentVariableContextParameterValidator) Description

func (EnvironmentVariableContextParameterValidator) MarkdownDescription

func (EnvironmentVariableContextParameterValidator) ValidateString

type EnvironmentVariableContextParameterValidatorRequest

type EnvironmentVariableContextParameterValidatorRequest struct {
	Config         tfsdk.Config
	ConfigValue    attr.Value
	Path           path.Path
	PathExpression path.Expression
}

type EnvironmentVariableContextParameterValidatorResponse

type EnvironmentVariableContextParameterValidatorResponse struct {
	Diagnostics diag.Diagnostics
}

type ForbiddenIfEqualsValidator added in v0.0.2

type ForbiddenIfEqualsValidator struct {
	PredicateValue  string
	PathExpressions path.Expressions
}

func (ForbiddenIfEqualsValidator) Description added in v0.0.2

func (av ForbiddenIfEqualsValidator) Description(ctx context.Context) string

func (ForbiddenIfEqualsValidator) MarkdownDescription added in v0.0.2

func (av ForbiddenIfEqualsValidator) MarkdownDescription(_ context.Context) string

func (ForbiddenIfEqualsValidator) Validate added in v0.0.2

func (ForbiddenIfEqualsValidator) ValidateString added in v0.0.2

type ForbiddenIfEqualsValidatorRequest added in v0.0.2

type ForbiddenIfEqualsValidatorRequest struct {
	Config         tfsdk.Config
	ConfigValue    attr.Value
	Path           path.Path
	PathExpression path.Expression
}

type ForbiddenIfEqualsValidatorResponse added in v0.0.2

type ForbiddenIfEqualsValidatorResponse struct {
	Diagnostics diag.Diagnostics
}

type RequiredIfEqualsValidator

type RequiredIfEqualsValidator struct {
	PredicateValue  string
	PathExpressions path.Expressions
}

func (RequiredIfEqualsValidator) Description

func (av RequiredIfEqualsValidator) Description(ctx context.Context) string

func (RequiredIfEqualsValidator) MarkdownDescription

func (av RequiredIfEqualsValidator) MarkdownDescription(_ context.Context) string

func (RequiredIfEqualsValidator) Validate

func (RequiredIfEqualsValidator) ValidateString

type RequiredIfEqualsValidatorRequest

type RequiredIfEqualsValidatorRequest struct {
	Config         tfsdk.Config
	ConfigValue    attr.Value
	Path           path.Path
	PathExpression path.Expression
}

type RequiredIfEqualsValidatorResponse

type RequiredIfEqualsValidatorResponse struct {
	Diagnostics diag.Diagnostics
}

type SiteBuildSettingsDeployBranchesValidator added in v0.0.2

type SiteBuildSettingsDeployBranchesValidator struct {
	AllBranchesPathExpression path.Expression
}

func (SiteBuildSettingsDeployBranchesValidator) Description added in v0.0.2

func (SiteBuildSettingsDeployBranchesValidator) MarkdownDescription added in v0.0.2

func (SiteBuildSettingsDeployBranchesValidator) Validate added in v0.0.2

func (SiteBuildSettingsDeployBranchesValidator) ValidateList added in v0.0.2

type SiteBuildSettingsDeployBranchesValidatorRequest added in v0.0.2

type SiteBuildSettingsDeployBranchesValidatorRequest struct {
	Config         tfsdk.Config
	ConfigValue    attr.Value
	Path           path.Path
	PathExpression path.Expression
}

type SiteBuildSettingsDeployBranchesValidatorResponse added in v0.0.2

type SiteBuildSettingsDeployBranchesValidatorResponse struct {
	Diagnostics diag.Diagnostics
}

Jump to

Keyboard shortcuts

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