Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- type ActionState
- type ActivatedRule
- type ActivatedRuleAttributes
- func (ar ActivatedRuleAttributes) Action() terra.ListValue[ActionAttributes]
- func (ar ActivatedRuleAttributes) InternalRef() (terra.Reference, error)
- func (ar ActivatedRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ar ActivatedRuleAttributes) InternalWithRef(ref terra.Reference) ActivatedRuleAttributes
- func (ar ActivatedRuleAttributes) Priority() terra.NumberValue
- func (ar ActivatedRuleAttributes) RuleId() terra.StringValue
- func (ar ActivatedRuleAttributes) Type() terra.StringValue
- type ActivatedRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) InternalRef ¶
func (a ActionAttributes) InternalRef() (terra.Reference, error)
func (ActionAttributes) InternalTokens ¶
func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAttributes) InternalWithRef ¶
func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
func (ActionAttributes) Type ¶
func (a ActionAttributes) Type() terra.StringValue
type ActionState ¶
type ActionState struct {
Type string `json:"type"`
}
type ActivatedRule ¶
type ActivatedRule struct { // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // RuleId: string, required RuleId terra.StringValue `hcl:"rule_id,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Action: required Action *Action `hcl:"action,block" validate:"required"` }
type ActivatedRuleAttributes ¶
type ActivatedRuleAttributes struct {
// contains filtered or unexported fields
}
func (ActivatedRuleAttributes) Action ¶
func (ar ActivatedRuleAttributes) Action() terra.ListValue[ActionAttributes]
func (ActivatedRuleAttributes) InternalRef ¶
func (ar ActivatedRuleAttributes) InternalRef() (terra.Reference, error)
func (ActivatedRuleAttributes) InternalTokens ¶
func (ar ActivatedRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActivatedRuleAttributes) InternalWithRef ¶
func (ar ActivatedRuleAttributes) InternalWithRef(ref terra.Reference) ActivatedRuleAttributes
func (ActivatedRuleAttributes) Priority ¶
func (ar ActivatedRuleAttributes) Priority() terra.NumberValue
func (ActivatedRuleAttributes) RuleId ¶
func (ar ActivatedRuleAttributes) RuleId() terra.StringValue
func (ActivatedRuleAttributes) Type ¶
func (ar ActivatedRuleAttributes) Type() terra.StringValue
type ActivatedRuleState ¶
type ActivatedRuleState struct { Priority float64 `json:"priority"` RuleId string `json:"rule_id"` Type string `json:"type"` Action []ActionState `json:"action"` }
Click to show internal directories.
Click to hide internal directories.