Documentation ¶
Index ¶
- type Rule
- type RuleAttributes
- func (r RuleAttributes) Attribute() terra.StringValue
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) Operator() terra.StringValue
- func (r RuleAttributes) Value() terra.StringValue
- type RuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct { // Attribute: string, optional Attribute terra.StringValue `hcl:"attribute,attr"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) Attribute ¶
func (r RuleAttributes) Attribute() terra.StringValue
func (RuleAttributes) InternalRef ¶
func (r RuleAttributes) InternalRef() (terra.Reference, error)
func (RuleAttributes) InternalTokens ¶
func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleAttributes) InternalWithRef ¶
func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
func (RuleAttributes) Operator ¶
func (r RuleAttributes) Operator() terra.StringValue
func (RuleAttributes) Value ¶
func (r RuleAttributes) Value() terra.StringValue
Click to show internal directories.
Click to hide internal directories.