Documentation ¶
Index ¶
- func ForbiddenIfEquals(predicateValue string, pathExpressions ...path.Expression) validator.String
- func RequiredIfEquals(predicateValue string, pathExpressions ...path.Expression) validator.String
- type EnvironmentVariableContextParameterValidator
- func (av EnvironmentVariableContextParameterValidator) Description(ctx context.Context) string
- func (av EnvironmentVariableContextParameterValidator) MarkdownDescription(_ context.Context) string
- func (av EnvironmentVariableContextParameterValidator) Validate(ctx context.Context, req EnvironmentVariableContextParameterValidatorRequest, ...)
- func (av EnvironmentVariableContextParameterValidator) ValidateString(ctx context.Context, req validator.StringRequest, ...)
- type EnvironmentVariableContextParameterValidatorRequest
- type EnvironmentVariableContextParameterValidatorResponse
- type ForbiddenIfEqualsValidator
- func (av ForbiddenIfEqualsValidator) Description(ctx context.Context) string
- func (av ForbiddenIfEqualsValidator) MarkdownDescription(_ context.Context) string
- func (av ForbiddenIfEqualsValidator) Validate(ctx context.Context, req ForbiddenIfEqualsValidatorRequest, ...)
- func (av ForbiddenIfEqualsValidator) ValidateString(ctx context.Context, req validator.StringRequest, ...)
- type ForbiddenIfEqualsValidatorRequest
- type ForbiddenIfEqualsValidatorResponse
- type RequiredIfEqualsValidator
- func (av RequiredIfEqualsValidator) Description(ctx context.Context) string
- func (av RequiredIfEqualsValidator) MarkdownDescription(_ context.Context) string
- func (av RequiredIfEqualsValidator) Validate(ctx context.Context, req RequiredIfEqualsValidatorRequest, ...)
- func (av RequiredIfEqualsValidator) ValidateString(ctx context.Context, req validator.StringRequest, ...)
- type RequiredIfEqualsValidatorRequest
- type RequiredIfEqualsValidatorResponse
- type SiteBuildSettingsDeployBranchesValidator
- func (av SiteBuildSettingsDeployBranchesValidator) Description(ctx context.Context) string
- func (av SiteBuildSettingsDeployBranchesValidator) MarkdownDescription(_ context.Context) string
- func (av SiteBuildSettingsDeployBranchesValidator) Validate(ctx context.Context, req SiteBuildSettingsDeployBranchesValidatorRequest, ...)
- func (av SiteBuildSettingsDeployBranchesValidator) ValidateList(ctx context.Context, req validator.ListRequest, resp *validator.ListResponse)
- type SiteBuildSettingsDeployBranchesValidatorRequest
- type SiteBuildSettingsDeployBranchesValidatorResponse
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 (av EnvironmentVariableContextParameterValidator) Description(ctx context.Context) string
func (EnvironmentVariableContextParameterValidator) MarkdownDescription ¶
func (av EnvironmentVariableContextParameterValidator) MarkdownDescription(_ context.Context) string
func (EnvironmentVariableContextParameterValidator) ValidateString ¶
func (av EnvironmentVariableContextParameterValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)
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 (av ForbiddenIfEqualsValidator) Validate(ctx context.Context, req ForbiddenIfEqualsValidatorRequest, res *ForbiddenIfEqualsValidatorResponse)
func (ForbiddenIfEqualsValidator) ValidateString ¶ added in v0.0.2
func (av ForbiddenIfEqualsValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)
type ForbiddenIfEqualsValidatorRequest ¶ added in v0.0.2
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 (av RequiredIfEqualsValidator) Validate(ctx context.Context, req RequiredIfEqualsValidatorRequest, res *RequiredIfEqualsValidatorResponse)
func (RequiredIfEqualsValidator) ValidateString ¶
func (av RequiredIfEqualsValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)
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 (av SiteBuildSettingsDeployBranchesValidator) Description(ctx context.Context) string
func (SiteBuildSettingsDeployBranchesValidator) MarkdownDescription ¶ added in v0.0.2
func (av SiteBuildSettingsDeployBranchesValidator) MarkdownDescription(_ context.Context) string
func (SiteBuildSettingsDeployBranchesValidator) Validate ¶ added in v0.0.2
func (av SiteBuildSettingsDeployBranchesValidator) Validate(ctx context.Context, req SiteBuildSettingsDeployBranchesValidatorRequest, res *SiteBuildSettingsDeployBranchesValidatorResponse)
func (SiteBuildSettingsDeployBranchesValidator) ValidateList ¶ added in v0.0.2
func (av SiteBuildSettingsDeployBranchesValidator) ValidateList(ctx context.Context, req validator.ListRequest, resp *validator.ListResponse)
type SiteBuildSettingsDeployBranchesValidatorRequest ¶ added in v0.0.2
type SiteBuildSettingsDeployBranchesValidatorResponse ¶ added in v0.0.2
type SiteBuildSettingsDeployBranchesValidatorResponse struct {
Diagnostics diag.Diagnostics
}
Click to show internal directories.
Click to hide internal directories.