Documentation ¶
Index ¶
- type And
- type AndAttributes
- func (a AndAttributes) CostCategory() terra.ListValue[AndCostCategoryAttributes]
- func (a AndAttributes) Dimension() terra.ListValue[AndDimensionAttributes]
- func (a AndAttributes) InternalRef() (terra.Reference, error)
- func (a AndAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AndAttributes) InternalWithRef(ref terra.Reference) AndAttributes
- func (a AndAttributes) Tags() terra.ListValue[AndTagsAttributes]
- type AndCostCategory
- type AndCostCategoryAttributes
- func (cc AndCostCategoryAttributes) InternalRef() (terra.Reference, error)
- func (cc AndCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc AndCostCategoryAttributes) InternalWithRef(ref terra.Reference) AndCostCategoryAttributes
- func (cc AndCostCategoryAttributes) Key() terra.StringValue
- func (cc AndCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (cc AndCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
- type AndCostCategoryState
- type AndDimension
- type AndDimensionAttributes
- func (d AndDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d AndDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d AndDimensionAttributes) InternalWithRef(ref terra.Reference) AndDimensionAttributes
- func (d AndDimensionAttributes) Key() terra.StringValue
- func (d AndDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (d AndDimensionAttributes) Values() terra.SetValue[terra.StringValue]
- type AndDimensionState
- type AndState
- type AndTags
- type AndTagsAttributes
- func (t AndTagsAttributes) InternalRef() (terra.Reference, error)
- func (t AndTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t AndTagsAttributes) InternalWithRef(ref terra.Reference) AndTagsAttributes
- func (t AndTagsAttributes) Key() terra.StringValue
- func (t AndTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (t AndTagsAttributes) Values() terra.SetValue[terra.StringValue]
- type AndTagsState
- type InheritedValue
- type InheritedValueAttributes
- func (iv InheritedValueAttributes) DimensionKey() terra.StringValue
- func (iv InheritedValueAttributes) DimensionName() terra.StringValue
- func (iv InheritedValueAttributes) InternalRef() (terra.Reference, error)
- func (iv InheritedValueAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (iv InheritedValueAttributes) InternalWithRef(ref terra.Reference) InheritedValueAttributes
- type InheritedValueState
- type Not
- type NotAttributes
- func (n NotAttributes) CostCategory() terra.ListValue[NotCostCategoryAttributes]
- func (n NotAttributes) Dimension() terra.ListValue[NotDimensionAttributes]
- func (n NotAttributes) InternalRef() (terra.Reference, error)
- func (n NotAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NotAttributes) InternalWithRef(ref terra.Reference) NotAttributes
- func (n NotAttributes) Tags() terra.ListValue[NotTagsAttributes]
- type NotCostCategory
- type NotCostCategoryAttributes
- func (cc NotCostCategoryAttributes) InternalRef() (terra.Reference, error)
- func (cc NotCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc NotCostCategoryAttributes) InternalWithRef(ref terra.Reference) NotCostCategoryAttributes
- func (cc NotCostCategoryAttributes) Key() terra.StringValue
- func (cc NotCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (cc NotCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
- type NotCostCategoryState
- type NotDimension
- type NotDimensionAttributes
- func (d NotDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d NotDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d NotDimensionAttributes) InternalWithRef(ref terra.Reference) NotDimensionAttributes
- func (d NotDimensionAttributes) Key() terra.StringValue
- func (d NotDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (d NotDimensionAttributes) Values() terra.SetValue[terra.StringValue]
- type NotDimensionState
- type NotState
- type NotTags
- type NotTagsAttributes
- func (t NotTagsAttributes) InternalRef() (terra.Reference, error)
- func (t NotTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t NotTagsAttributes) InternalWithRef(ref terra.Reference) NotTagsAttributes
- func (t NotTagsAttributes) Key() terra.StringValue
- func (t NotTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (t NotTagsAttributes) Values() terra.SetValue[terra.StringValue]
- type NotTagsState
- type Or
- type OrAttributes
- func (o OrAttributes) CostCategory() terra.ListValue[OrCostCategoryAttributes]
- func (o OrAttributes) Dimension() terra.ListValue[OrDimensionAttributes]
- func (o OrAttributes) InternalRef() (terra.Reference, error)
- func (o OrAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o OrAttributes) InternalWithRef(ref terra.Reference) OrAttributes
- func (o OrAttributes) Tags() terra.ListValue[OrTagsAttributes]
- type OrCostCategory
- type OrCostCategoryAttributes
- func (cc OrCostCategoryAttributes) InternalRef() (terra.Reference, error)
- func (cc OrCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc OrCostCategoryAttributes) InternalWithRef(ref terra.Reference) OrCostCategoryAttributes
- func (cc OrCostCategoryAttributes) Key() terra.StringValue
- func (cc OrCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (cc OrCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
- type OrCostCategoryState
- type OrDimension
- type OrDimensionAttributes
- func (d OrDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d OrDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d OrDimensionAttributes) InternalWithRef(ref terra.Reference) OrDimensionAttributes
- func (d OrDimensionAttributes) Key() terra.StringValue
- func (d OrDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (d OrDimensionAttributes) Values() terra.SetValue[terra.StringValue]
- type OrDimensionState
- type OrState
- type OrTags
- type OrTagsAttributes
- func (t OrTagsAttributes) InternalRef() (terra.Reference, error)
- func (t OrTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t OrTagsAttributes) InternalWithRef(ref terra.Reference) OrTagsAttributes
- func (t OrTagsAttributes) Key() terra.StringValue
- func (t OrTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (t OrTagsAttributes) Values() terra.SetValue[terra.StringValue]
- type OrTagsState
- type Parameter
- type ParameterAttributes
- func (p ParameterAttributes) InternalRef() (terra.Reference, error)
- func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes
- func (p ParameterAttributes) Type() terra.StringValue
- func (p ParameterAttributes) Values() terra.SetValue[terra.StringValue]
- type ParameterState
- type Rule
- type RuleAttributes
- func (r RuleAttributes) InheritedValue() terra.ListValue[InheritedValueAttributes]
- 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) Rule() terra.ListValue[RuleRuleAttributes]
- func (r RuleAttributes) Type() terra.StringValue
- func (r RuleAttributes) Value() terra.StringValue
- type RuleCostCategory
- type RuleCostCategoryAttributes
- func (cc RuleCostCategoryAttributes) InternalRef() (terra.Reference, error)
- func (cc RuleCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc RuleCostCategoryAttributes) InternalWithRef(ref terra.Reference) RuleCostCategoryAttributes
- func (cc RuleCostCategoryAttributes) Key() terra.StringValue
- func (cc RuleCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (cc RuleCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
- type RuleCostCategoryState
- type RuleDimension
- type RuleDimensionAttributes
- func (d RuleDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d RuleDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d RuleDimensionAttributes) InternalWithRef(ref terra.Reference) RuleDimensionAttributes
- func (d RuleDimensionAttributes) Key() terra.StringValue
- func (d RuleDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (d RuleDimensionAttributes) Values() terra.SetValue[terra.StringValue]
- type RuleDimensionState
- type RuleRule
- type RuleRuleAttributes
- func (r RuleRuleAttributes) And() terra.SetValue[AndAttributes]
- func (r RuleRuleAttributes) CostCategory() terra.ListValue[RuleCostCategoryAttributes]
- func (r RuleRuleAttributes) Dimension() terra.ListValue[RuleDimensionAttributes]
- func (r RuleRuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleRuleAttributes) InternalWithRef(ref terra.Reference) RuleRuleAttributes
- func (r RuleRuleAttributes) Not() terra.ListValue[NotAttributes]
- func (r RuleRuleAttributes) Or() terra.SetValue[OrAttributes]
- func (r RuleRuleAttributes) Tags() terra.ListValue[RuleTagsAttributes]
- type RuleRuleState
- type RuleState
- type RuleTags
- type RuleTagsAttributes
- func (t RuleTagsAttributes) InternalRef() (terra.Reference, error)
- func (t RuleTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t RuleTagsAttributes) InternalWithRef(ref terra.Reference) RuleTagsAttributes
- func (t RuleTagsAttributes) Key() terra.StringValue
- func (t RuleTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
- func (t RuleTagsAttributes) Values() terra.SetValue[terra.StringValue]
- type RuleTagsState
- type SplitChargeRule
- type SplitChargeRuleAttributes
- func (scr SplitChargeRuleAttributes) InternalRef() (terra.Reference, error)
- func (scr SplitChargeRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scr SplitChargeRuleAttributes) InternalWithRef(ref terra.Reference) SplitChargeRuleAttributes
- func (scr SplitChargeRuleAttributes) Method() terra.StringValue
- func (scr SplitChargeRuleAttributes) Parameter() terra.SetValue[ParameterAttributes]
- func (scr SplitChargeRuleAttributes) Source() terra.StringValue
- func (scr SplitChargeRuleAttributes) Targets() terra.SetValue[terra.StringValue]
- type SplitChargeRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type And ¶
type And struct { // AndCostCategory: min=0 CostCategory []AndCostCategory `hcl:"cost_category,block" validate:"min=0"` // AndDimension: min=0 Dimension []AndDimension `hcl:"dimension,block" validate:"min=0"` // AndTags: min=0 Tags []AndTags `hcl:"tags,block" validate:"min=0"` }
type AndAttributes ¶
type AndAttributes struct {
// contains filtered or unexported fields
}
func (AndAttributes) CostCategory ¶
func (a AndAttributes) CostCategory() terra.ListValue[AndCostCategoryAttributes]
func (AndAttributes) Dimension ¶
func (a AndAttributes) Dimension() terra.ListValue[AndDimensionAttributes]
func (AndAttributes) InternalRef ¶
func (a AndAttributes) InternalRef() (terra.Reference, error)
func (AndAttributes) InternalTokens ¶
func (a AndAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AndAttributes) InternalWithRef ¶
func (a AndAttributes) InternalWithRef(ref terra.Reference) AndAttributes
func (AndAttributes) Tags ¶
func (a AndAttributes) Tags() terra.ListValue[AndTagsAttributes]
type AndCostCategory ¶
type AndCostCategory struct{}
type AndCostCategoryAttributes ¶
type AndCostCategoryAttributes struct {
// contains filtered or unexported fields
}
func (AndCostCategoryAttributes) InternalRef ¶
func (cc AndCostCategoryAttributes) InternalRef() (terra.Reference, error)
func (AndCostCategoryAttributes) InternalTokens ¶
func (cc AndCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AndCostCategoryAttributes) InternalWithRef ¶
func (cc AndCostCategoryAttributes) InternalWithRef(ref terra.Reference) AndCostCategoryAttributes
func (AndCostCategoryAttributes) Key ¶
func (cc AndCostCategoryAttributes) Key() terra.StringValue
func (AndCostCategoryAttributes) MatchOptions ¶
func (cc AndCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (AndCostCategoryAttributes) Values ¶
func (cc AndCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
type AndCostCategoryState ¶
type AndDimension ¶
type AndDimension struct{}
type AndDimensionAttributes ¶
type AndDimensionAttributes struct {
// contains filtered or unexported fields
}
func (AndDimensionAttributes) InternalRef ¶
func (d AndDimensionAttributes) InternalRef() (terra.Reference, error)
func (AndDimensionAttributes) InternalTokens ¶
func (d AndDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AndDimensionAttributes) InternalWithRef ¶
func (d AndDimensionAttributes) InternalWithRef(ref terra.Reference) AndDimensionAttributes
func (AndDimensionAttributes) Key ¶
func (d AndDimensionAttributes) Key() terra.StringValue
func (AndDimensionAttributes) MatchOptions ¶
func (d AndDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (AndDimensionAttributes) Values ¶
func (d AndDimensionAttributes) Values() terra.SetValue[terra.StringValue]
type AndDimensionState ¶
type AndState ¶
type AndState struct { CostCategory []AndCostCategoryState `json:"cost_category"` Dimension []AndDimensionState `json:"dimension"` Tags []AndTagsState `json:"tags"` }
type AndTagsAttributes ¶
type AndTagsAttributes struct {
// contains filtered or unexported fields
}
func (AndTagsAttributes) InternalRef ¶
func (t AndTagsAttributes) InternalRef() (terra.Reference, error)
func (AndTagsAttributes) InternalTokens ¶
func (t AndTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AndTagsAttributes) InternalWithRef ¶
func (t AndTagsAttributes) InternalWithRef(ref terra.Reference) AndTagsAttributes
func (AndTagsAttributes) Key ¶
func (t AndTagsAttributes) Key() terra.StringValue
func (AndTagsAttributes) MatchOptions ¶
func (t AndTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (AndTagsAttributes) Values ¶
func (t AndTagsAttributes) Values() terra.SetValue[terra.StringValue]
type AndTagsState ¶
type InheritedValue ¶
type InheritedValue struct{}
type InheritedValueAttributes ¶
type InheritedValueAttributes struct {
// contains filtered or unexported fields
}
func (InheritedValueAttributes) DimensionKey ¶
func (iv InheritedValueAttributes) DimensionKey() terra.StringValue
func (InheritedValueAttributes) DimensionName ¶
func (iv InheritedValueAttributes) DimensionName() terra.StringValue
func (InheritedValueAttributes) InternalRef ¶
func (iv InheritedValueAttributes) InternalRef() (terra.Reference, error)
func (InheritedValueAttributes) InternalTokens ¶
func (iv InheritedValueAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InheritedValueAttributes) InternalWithRef ¶
func (iv InheritedValueAttributes) InternalWithRef(ref terra.Reference) InheritedValueAttributes
type InheritedValueState ¶
type Not ¶
type Not struct { // NotCostCategory: min=0 CostCategory []NotCostCategory `hcl:"cost_category,block" validate:"min=0"` // NotDimension: min=0 Dimension []NotDimension `hcl:"dimension,block" validate:"min=0"` // NotTags: min=0 Tags []NotTags `hcl:"tags,block" validate:"min=0"` }
type NotAttributes ¶
type NotAttributes struct {
// contains filtered or unexported fields
}
func (NotAttributes) CostCategory ¶
func (n NotAttributes) CostCategory() terra.ListValue[NotCostCategoryAttributes]
func (NotAttributes) Dimension ¶
func (n NotAttributes) Dimension() terra.ListValue[NotDimensionAttributes]
func (NotAttributes) InternalRef ¶
func (n NotAttributes) InternalRef() (terra.Reference, error)
func (NotAttributes) InternalTokens ¶
func (n NotAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotAttributes) InternalWithRef ¶
func (n NotAttributes) InternalWithRef(ref terra.Reference) NotAttributes
func (NotAttributes) Tags ¶
func (n NotAttributes) Tags() terra.ListValue[NotTagsAttributes]
type NotCostCategory ¶
type NotCostCategory struct{}
type NotCostCategoryAttributes ¶
type NotCostCategoryAttributes struct {
// contains filtered or unexported fields
}
func (NotCostCategoryAttributes) InternalRef ¶
func (cc NotCostCategoryAttributes) InternalRef() (terra.Reference, error)
func (NotCostCategoryAttributes) InternalTokens ¶
func (cc NotCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotCostCategoryAttributes) InternalWithRef ¶
func (cc NotCostCategoryAttributes) InternalWithRef(ref terra.Reference) NotCostCategoryAttributes
func (NotCostCategoryAttributes) Key ¶
func (cc NotCostCategoryAttributes) Key() terra.StringValue
func (NotCostCategoryAttributes) MatchOptions ¶
func (cc NotCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (NotCostCategoryAttributes) Values ¶
func (cc NotCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
type NotCostCategoryState ¶
type NotDimension ¶
type NotDimension struct{}
type NotDimensionAttributes ¶
type NotDimensionAttributes struct {
// contains filtered or unexported fields
}
func (NotDimensionAttributes) InternalRef ¶
func (d NotDimensionAttributes) InternalRef() (terra.Reference, error)
func (NotDimensionAttributes) InternalTokens ¶
func (d NotDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotDimensionAttributes) InternalWithRef ¶
func (d NotDimensionAttributes) InternalWithRef(ref terra.Reference) NotDimensionAttributes
func (NotDimensionAttributes) Key ¶
func (d NotDimensionAttributes) Key() terra.StringValue
func (NotDimensionAttributes) MatchOptions ¶
func (d NotDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (NotDimensionAttributes) Values ¶
func (d NotDimensionAttributes) Values() terra.SetValue[terra.StringValue]
type NotDimensionState ¶
type NotState ¶
type NotState struct { CostCategory []NotCostCategoryState `json:"cost_category"` Dimension []NotDimensionState `json:"dimension"` Tags []NotTagsState `json:"tags"` }
type NotTagsAttributes ¶
type NotTagsAttributes struct {
// contains filtered or unexported fields
}
func (NotTagsAttributes) InternalRef ¶
func (t NotTagsAttributes) InternalRef() (terra.Reference, error)
func (NotTagsAttributes) InternalTokens ¶
func (t NotTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotTagsAttributes) InternalWithRef ¶
func (t NotTagsAttributes) InternalWithRef(ref terra.Reference) NotTagsAttributes
func (NotTagsAttributes) Key ¶
func (t NotTagsAttributes) Key() terra.StringValue
func (NotTagsAttributes) MatchOptions ¶
func (t NotTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (NotTagsAttributes) Values ¶
func (t NotTagsAttributes) Values() terra.SetValue[terra.StringValue]
type NotTagsState ¶
type Or ¶
type Or struct { // OrCostCategory: min=0 CostCategory []OrCostCategory `hcl:"cost_category,block" validate:"min=0"` // OrDimension: min=0 Dimension []OrDimension `hcl:"dimension,block" validate:"min=0"` // OrTags: min=0 Tags []OrTags `hcl:"tags,block" validate:"min=0"` }
type OrAttributes ¶
type OrAttributes struct {
// contains filtered or unexported fields
}
func (OrAttributes) CostCategory ¶
func (o OrAttributes) CostCategory() terra.ListValue[OrCostCategoryAttributes]
func (OrAttributes) Dimension ¶
func (o OrAttributes) Dimension() terra.ListValue[OrDimensionAttributes]
func (OrAttributes) InternalRef ¶
func (o OrAttributes) InternalRef() (terra.Reference, error)
func (OrAttributes) InternalTokens ¶
func (o OrAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OrAttributes) InternalWithRef ¶
func (o OrAttributes) InternalWithRef(ref terra.Reference) OrAttributes
func (OrAttributes) Tags ¶
func (o OrAttributes) Tags() terra.ListValue[OrTagsAttributes]
type OrCostCategory ¶
type OrCostCategory struct{}
type OrCostCategoryAttributes ¶
type OrCostCategoryAttributes struct {
// contains filtered or unexported fields
}
func (OrCostCategoryAttributes) InternalRef ¶
func (cc OrCostCategoryAttributes) InternalRef() (terra.Reference, error)
func (OrCostCategoryAttributes) InternalTokens ¶
func (cc OrCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OrCostCategoryAttributes) InternalWithRef ¶
func (cc OrCostCategoryAttributes) InternalWithRef(ref terra.Reference) OrCostCategoryAttributes
func (OrCostCategoryAttributes) Key ¶
func (cc OrCostCategoryAttributes) Key() terra.StringValue
func (OrCostCategoryAttributes) MatchOptions ¶
func (cc OrCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (OrCostCategoryAttributes) Values ¶
func (cc OrCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
type OrCostCategoryState ¶
type OrDimension ¶
type OrDimension struct{}
type OrDimensionAttributes ¶
type OrDimensionAttributes struct {
// contains filtered or unexported fields
}
func (OrDimensionAttributes) InternalRef ¶
func (d OrDimensionAttributes) InternalRef() (terra.Reference, error)
func (OrDimensionAttributes) InternalTokens ¶
func (d OrDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OrDimensionAttributes) InternalWithRef ¶
func (d OrDimensionAttributes) InternalWithRef(ref terra.Reference) OrDimensionAttributes
func (OrDimensionAttributes) Key ¶
func (d OrDimensionAttributes) Key() terra.StringValue
func (OrDimensionAttributes) MatchOptions ¶
func (d OrDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (OrDimensionAttributes) Values ¶
func (d OrDimensionAttributes) Values() terra.SetValue[terra.StringValue]
type OrDimensionState ¶
type OrState ¶
type OrState struct { CostCategory []OrCostCategoryState `json:"cost_category"` Dimension []OrDimensionState `json:"dimension"` Tags []OrTagsState `json:"tags"` }
type OrTagsAttributes ¶
type OrTagsAttributes struct {
// contains filtered or unexported fields
}
func (OrTagsAttributes) InternalRef ¶
func (t OrTagsAttributes) InternalRef() (terra.Reference, error)
func (OrTagsAttributes) InternalTokens ¶
func (t OrTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OrTagsAttributes) InternalWithRef ¶
func (t OrTagsAttributes) InternalWithRef(ref terra.Reference) OrTagsAttributes
func (OrTagsAttributes) Key ¶
func (t OrTagsAttributes) Key() terra.StringValue
func (OrTagsAttributes) MatchOptions ¶
func (t OrTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (OrTagsAttributes) Values ¶
func (t OrTagsAttributes) Values() terra.SetValue[terra.StringValue]
type OrTagsState ¶
type ParameterAttributes ¶
type ParameterAttributes struct {
// contains filtered or unexported fields
}
func (ParameterAttributes) InternalRef ¶
func (p ParameterAttributes) InternalRef() (terra.Reference, error)
func (ParameterAttributes) InternalTokens ¶
func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ParameterAttributes) InternalWithRef ¶
func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes
func (ParameterAttributes) Type ¶
func (p ParameterAttributes) Type() terra.StringValue
func (ParameterAttributes) Values ¶
func (p ParameterAttributes) Values() terra.SetValue[terra.StringValue]
type ParameterState ¶
type Rule ¶
type Rule struct { // InheritedValue: min=0 InheritedValue []InheritedValue `hcl:"inherited_value,block" validate:"min=0"` // RuleRule: min=0 Rule []RuleRule `hcl:"rule,block" validate:"min=0"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) InheritedValue ¶
func (r RuleAttributes) InheritedValue() terra.ListValue[InheritedValueAttributes]
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) Rule ¶
func (r RuleAttributes) Rule() terra.ListValue[RuleRuleAttributes]
func (RuleAttributes) Type ¶
func (r RuleAttributes) Type() terra.StringValue
func (RuleAttributes) Value ¶
func (r RuleAttributes) Value() terra.StringValue
type RuleCostCategory ¶
type RuleCostCategory struct{}
type RuleCostCategoryAttributes ¶
type RuleCostCategoryAttributes struct {
// contains filtered or unexported fields
}
func (RuleCostCategoryAttributes) InternalRef ¶
func (cc RuleCostCategoryAttributes) InternalRef() (terra.Reference, error)
func (RuleCostCategoryAttributes) InternalTokens ¶
func (cc RuleCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleCostCategoryAttributes) InternalWithRef ¶
func (cc RuleCostCategoryAttributes) InternalWithRef(ref terra.Reference) RuleCostCategoryAttributes
func (RuleCostCategoryAttributes) Key ¶
func (cc RuleCostCategoryAttributes) Key() terra.StringValue
func (RuleCostCategoryAttributes) MatchOptions ¶
func (cc RuleCostCategoryAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (RuleCostCategoryAttributes) Values ¶
func (cc RuleCostCategoryAttributes) Values() terra.SetValue[terra.StringValue]
type RuleCostCategoryState ¶
type RuleDimension ¶
type RuleDimension struct{}
type RuleDimensionAttributes ¶
type RuleDimensionAttributes struct {
// contains filtered or unexported fields
}
func (RuleDimensionAttributes) InternalRef ¶
func (d RuleDimensionAttributes) InternalRef() (terra.Reference, error)
func (RuleDimensionAttributes) InternalTokens ¶
func (d RuleDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDimensionAttributes) InternalWithRef ¶
func (d RuleDimensionAttributes) InternalWithRef(ref terra.Reference) RuleDimensionAttributes
func (RuleDimensionAttributes) Key ¶
func (d RuleDimensionAttributes) Key() terra.StringValue
func (RuleDimensionAttributes) MatchOptions ¶
func (d RuleDimensionAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (RuleDimensionAttributes) Values ¶
func (d RuleDimensionAttributes) Values() terra.SetValue[terra.StringValue]
type RuleDimensionState ¶
type RuleRule ¶
type RuleRule struct { // And: min=0 And []And `hcl:"and,block" validate:"min=0"` // RuleCostCategory: min=0 CostCategory []RuleCostCategory `hcl:"cost_category,block" validate:"min=0"` // RuleDimension: min=0 Dimension []RuleDimension `hcl:"dimension,block" validate:"min=0"` // Not: min=0 Not []Not `hcl:"not,block" validate:"min=0"` // Or: min=0 Or []Or `hcl:"or,block" validate:"min=0"` // RuleTags: min=0 Tags []RuleTags `hcl:"tags,block" validate:"min=0"` }
type RuleRuleAttributes ¶
type RuleRuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleRuleAttributes) And ¶
func (r RuleRuleAttributes) And() terra.SetValue[AndAttributes]
func (RuleRuleAttributes) CostCategory ¶
func (r RuleRuleAttributes) CostCategory() terra.ListValue[RuleCostCategoryAttributes]
func (RuleRuleAttributes) Dimension ¶
func (r RuleRuleAttributes) Dimension() terra.ListValue[RuleDimensionAttributes]
func (RuleRuleAttributes) InternalRef ¶
func (r RuleRuleAttributes) InternalRef() (terra.Reference, error)
func (RuleRuleAttributes) InternalTokens ¶
func (r RuleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleRuleAttributes) InternalWithRef ¶
func (r RuleRuleAttributes) InternalWithRef(ref terra.Reference) RuleRuleAttributes
func (RuleRuleAttributes) Not ¶
func (r RuleRuleAttributes) Not() terra.ListValue[NotAttributes]
func (RuleRuleAttributes) Or ¶
func (r RuleRuleAttributes) Or() terra.SetValue[OrAttributes]
func (RuleRuleAttributes) Tags ¶
func (r RuleRuleAttributes) Tags() terra.ListValue[RuleTagsAttributes]
type RuleRuleState ¶
type RuleRuleState struct { And []AndState `json:"and"` CostCategory []RuleCostCategoryState `json:"cost_category"` Dimension []RuleDimensionState `json:"dimension"` Not []NotState `json:"not"` Or []OrState `json:"or"` Tags []RuleTagsState `json:"tags"` }
type RuleState ¶
type RuleState struct { Type string `json:"type"` Value string `json:"value"` InheritedValue []InheritedValueState `json:"inherited_value"` Rule []RuleRuleState `json:"rule"` }
type RuleTagsAttributes ¶
type RuleTagsAttributes struct {
// contains filtered or unexported fields
}
func (RuleTagsAttributes) InternalRef ¶
func (t RuleTagsAttributes) InternalRef() (terra.Reference, error)
func (RuleTagsAttributes) InternalTokens ¶
func (t RuleTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleTagsAttributes) InternalWithRef ¶
func (t RuleTagsAttributes) InternalWithRef(ref terra.Reference) RuleTagsAttributes
func (RuleTagsAttributes) Key ¶
func (t RuleTagsAttributes) Key() terra.StringValue
func (RuleTagsAttributes) MatchOptions ¶
func (t RuleTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]
func (RuleTagsAttributes) Values ¶
func (t RuleTagsAttributes) Values() terra.SetValue[terra.StringValue]
type RuleTagsState ¶
type SplitChargeRule ¶
type SplitChargeRule struct { // Parameter: min=0 Parameter []Parameter `hcl:"parameter,block" validate:"min=0"` }
type SplitChargeRuleAttributes ¶
type SplitChargeRuleAttributes struct {
// contains filtered or unexported fields
}
func (SplitChargeRuleAttributes) InternalRef ¶
func (scr SplitChargeRuleAttributes) InternalRef() (terra.Reference, error)
func (SplitChargeRuleAttributes) InternalTokens ¶
func (scr SplitChargeRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SplitChargeRuleAttributes) InternalWithRef ¶
func (scr SplitChargeRuleAttributes) InternalWithRef(ref terra.Reference) SplitChargeRuleAttributes
func (SplitChargeRuleAttributes) Method ¶
func (scr SplitChargeRuleAttributes) Method() terra.StringValue
func (SplitChargeRuleAttributes) Parameter ¶
func (scr SplitChargeRuleAttributes) Parameter() terra.SetValue[ParameterAttributes]
func (SplitChargeRuleAttributes) Source ¶
func (scr SplitChargeRuleAttributes) Source() terra.StringValue
func (SplitChargeRuleAttributes) Targets ¶
func (scr SplitChargeRuleAttributes) Targets() terra.SetValue[terra.StringValue]
type SplitChargeRuleState ¶
type SplitChargeRuleState struct { Method string `json:"method"` Source string `json:"source"` Targets []string `json:"targets"` Parameter []ParameterState `json:"parameter"` }
Click to show internal directories.
Click to hide internal directories.