Documentation ¶
Index ¶
- type RuleConfig
- type RuleConfigAttributes
- func (rc RuleConfigAttributes) InternalRef() (terra.Reference, error)
- func (rc RuleConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc RuleConfigAttributes) InternalWithRef(ref terra.Reference) RuleConfigAttributes
- func (rc RuleConfigAttributes) Inverted() terra.BoolValue
- func (rc RuleConfigAttributes) Threshold() terra.NumberValue
- func (rc RuleConfigAttributes) Type() terra.StringValue
- type RuleConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleConfig ¶
type RuleConfig struct { // Inverted: bool, required Inverted terra.BoolValue `hcl:"inverted,attr" validate:"required"` // Threshold: number, required Threshold terra.NumberValue `hcl:"threshold,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type RuleConfigAttributes ¶
type RuleConfigAttributes struct {
// contains filtered or unexported fields
}
func (RuleConfigAttributes) InternalRef ¶
func (rc RuleConfigAttributes) InternalRef() (terra.Reference, error)
func (RuleConfigAttributes) InternalTokens ¶
func (rc RuleConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleConfigAttributes) InternalWithRef ¶
func (rc RuleConfigAttributes) InternalWithRef(ref terra.Reference) RuleConfigAttributes
func (RuleConfigAttributes) Inverted ¶
func (rc RuleConfigAttributes) Inverted() terra.BoolValue
func (RuleConfigAttributes) Threshold ¶
func (rc RuleConfigAttributes) Threshold() terra.NumberValue
func (RuleConfigAttributes) Type ¶
func (rc RuleConfigAttributes) Type() terra.StringValue
type RuleConfigState ¶
Click to show internal directories.
Click to hide internal directories.