Documentation ¶
Index ¶
- type Criterion
- type CriterionAttributes
- func (c CriterionAttributes) Eq() terra.SetValue[terra.StringValue]
- func (c CriterionAttributes) EqExactMatch() terra.SetValue[terra.StringValue]
- func (c CriterionAttributes) Field() terra.StringValue
- func (c CriterionAttributes) Gt() terra.StringValue
- func (c CriterionAttributes) Gte() terra.StringValue
- func (c CriterionAttributes) InternalRef() (terra.Reference, error)
- func (c CriterionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CriterionAttributes) InternalWithRef(ref terra.Reference) CriterionAttributes
- func (c CriterionAttributes) Lt() terra.StringValue
- func (c CriterionAttributes) Lte() terra.StringValue
- func (c CriterionAttributes) Neq() terra.SetValue[terra.StringValue]
- type CriterionState
- type FindingCriteria
- type FindingCriteriaAttributes
- func (fc FindingCriteriaAttributes) Criterion() terra.SetValue[CriterionAttributes]
- func (fc FindingCriteriaAttributes) InternalRef() (terra.Reference, error)
- func (fc FindingCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fc FindingCriteriaAttributes) InternalWithRef(ref terra.Reference) FindingCriteriaAttributes
- type FindingCriteriaState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Criterion ¶
type Criterion struct { // Eq: set of string, optional Eq terra.SetValue[terra.StringValue] `hcl:"eq,attr"` // EqExactMatch: set of string, optional EqExactMatch terra.SetValue[terra.StringValue] `hcl:"eq_exact_match,attr"` // Field: string, required Field terra.StringValue `hcl:"field,attr" validate:"required"` // Gt: string, optional Gt terra.StringValue `hcl:"gt,attr"` // Gte: string, optional Gte terra.StringValue `hcl:"gte,attr"` // Lt: string, optional Lt terra.StringValue `hcl:"lt,attr"` // Lte: string, optional Lte terra.StringValue `hcl:"lte,attr"` // Neq: set of string, optional Neq terra.SetValue[terra.StringValue] `hcl:"neq,attr"` }
type CriterionAttributes ¶
type CriterionAttributes struct {
// contains filtered or unexported fields
}
func (CriterionAttributes) Eq ¶
func (c CriterionAttributes) Eq() terra.SetValue[terra.StringValue]
func (CriterionAttributes) EqExactMatch ¶
func (c CriterionAttributes) EqExactMatch() terra.SetValue[terra.StringValue]
func (CriterionAttributes) Field ¶
func (c CriterionAttributes) Field() terra.StringValue
func (CriterionAttributes) Gt ¶
func (c CriterionAttributes) Gt() terra.StringValue
func (CriterionAttributes) Gte ¶
func (c CriterionAttributes) Gte() terra.StringValue
func (CriterionAttributes) InternalRef ¶
func (c CriterionAttributes) InternalRef() (terra.Reference, error)
func (CriterionAttributes) InternalTokens ¶
func (c CriterionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CriterionAttributes) InternalWithRef ¶
func (c CriterionAttributes) InternalWithRef(ref terra.Reference) CriterionAttributes
func (CriterionAttributes) Lt ¶
func (c CriterionAttributes) Lt() terra.StringValue
func (CriterionAttributes) Lte ¶
func (c CriterionAttributes) Lte() terra.StringValue
func (CriterionAttributes) Neq ¶
func (c CriterionAttributes) Neq() terra.SetValue[terra.StringValue]
type CriterionState ¶
type FindingCriteria ¶
type FindingCriteria struct { // Criterion: min=0 Criterion []Criterion `hcl:"criterion,block" validate:"min=0"` }
type FindingCriteriaAttributes ¶
type FindingCriteriaAttributes struct {
// contains filtered or unexported fields
}
func (FindingCriteriaAttributes) Criterion ¶
func (fc FindingCriteriaAttributes) Criterion() terra.SetValue[CriterionAttributes]
func (FindingCriteriaAttributes) InternalRef ¶
func (fc FindingCriteriaAttributes) InternalRef() (terra.Reference, error)
func (FindingCriteriaAttributes) InternalTokens ¶
func (fc FindingCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FindingCriteriaAttributes) InternalWithRef ¶
func (fc FindingCriteriaAttributes) InternalWithRef(ref terra.Reference) FindingCriteriaAttributes
type FindingCriteriaState ¶
type FindingCriteriaState struct {
Criterion []CriterionState `json:"criterion"`
}
Click to show internal directories.
Click to hide internal directories.