Documentation
¶
Index ¶
- func NewCustomRuleGroupDataSource() datasource.DataSource
- func NewCustomRuleGroupResource() resource.Resource
- func OnlyAllowedIfBoolEquals(target path.Expression, value bool) validator.String
- type BehaviorModel
- type ConditionModel
- type Model
- type OnlyAllowedIfBoolEqualsValidator
- type OperatorModel
- type RuleModel
- type VariableModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomRuleGroupDataSource ¶
func NewCustomRuleGroupDataSource() datasource.DataSource
func OnlyAllowedIfBoolEquals ¶
func OnlyAllowedIfBoolEquals(target path.Expression, value bool) validator.String
Types ¶
type BehaviorModel ¶
type ConditionModel ¶
type OnlyAllowedIfBoolEqualsValidator ¶
type OnlyAllowedIfBoolEqualsValidator struct {
Target path.Expression
Value bool
}
OnlyAllowedIfBoolEqualsValidator prevents that this string attribute is set if a target bool does not equal the specified value.
func (OnlyAllowedIfBoolEqualsValidator) Description ¶
func (v OnlyAllowedIfBoolEqualsValidator) Description(_ context.Context) string
func (OnlyAllowedIfBoolEqualsValidator) MarkdownDescription ¶
func (v OnlyAllowedIfBoolEqualsValidator) MarkdownDescription(ctx context.Context) string
func (OnlyAllowedIfBoolEqualsValidator) ValidateString ¶
func (v OnlyAllowedIfBoolEqualsValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)
type OperatorModel ¶
Click to show internal directories.
Click to hide internal directories.