datacecostcategory

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (AndAttributes) Dimension

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

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 (AndCostCategoryAttributes) Key

func (AndCostCategoryAttributes) MatchOptions

func (AndCostCategoryAttributes) Values

type AndCostCategoryState

type AndCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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 (AndDimensionAttributes) Key

func (AndDimensionAttributes) MatchOptions

func (AndDimensionAttributes) Values

type AndDimensionState

type AndDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type AndState

type AndState struct {
	CostCategory []AndCostCategoryState `json:"cost_category"`
	Dimension    []AndDimensionState    `json:"dimension"`
	Tags         []AndTagsState         `json:"tags"`
}

type AndTags

type AndTags struct{}

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 (AndTagsAttributes) MatchOptions

func (t AndTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]

func (AndTagsAttributes) Values

type AndTagsState

type AndTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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

type InheritedValueState

type InheritedValueState struct {
	DimensionKey  string `json:"dimension_key"`
	DimensionName string `json:"dimension_name"`
}

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 (NotAttributes) Dimension

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

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 (NotCostCategoryAttributes) Key

func (NotCostCategoryAttributes) MatchOptions

func (NotCostCategoryAttributes) Values

type NotCostCategoryState

type NotCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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 (NotDimensionAttributes) Key

func (NotDimensionAttributes) MatchOptions

func (NotDimensionAttributes) Values

type NotDimensionState

type NotDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type NotState

type NotState struct {
	CostCategory []NotCostCategoryState `json:"cost_category"`
	Dimension    []NotDimensionState    `json:"dimension"`
	Tags         []NotTagsState         `json:"tags"`
}

type NotTags

type NotTags struct{}

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 (NotTagsAttributes) MatchOptions

func (t NotTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]

func (NotTagsAttributes) Values

type NotTagsState

type NotTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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 (OrAttributes) Dimension

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

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 (OrCostCategoryAttributes) Key

func (OrCostCategoryAttributes) MatchOptions

func (OrCostCategoryAttributes) Values

type OrCostCategoryState

type OrCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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 (OrDimensionAttributes) Key

func (OrDimensionAttributes) MatchOptions

func (OrDimensionAttributes) Values

type OrDimensionState

type OrDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type OrState

type OrState struct {
	CostCategory []OrCostCategoryState `json:"cost_category"`
	Dimension    []OrDimensionState    `json:"dimension"`
	Tags         []OrTagsState         `json:"tags"`
}

type OrTags

type OrTags struct{}

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 (OrTagsAttributes) MatchOptions

func (t OrTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]

func (OrTagsAttributes) Values

type OrTagsState

type OrTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type Parameter

type Parameter struct{}

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 (ParameterAttributes) Values

type ParameterState

type ParameterState struct {
	Type   string   `json:"type"`
	Values []string `json:"values"`
}

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 (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 (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 (RuleCostCategoryAttributes) Key

func (RuleCostCategoryAttributes) MatchOptions

func (RuleCostCategoryAttributes) Values

type RuleCostCategoryState

type RuleCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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 (RuleDimensionAttributes) Key

func (RuleDimensionAttributes) MatchOptions

func (RuleDimensionAttributes) Values

type RuleDimensionState

type RuleDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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 (RuleRuleAttributes) CostCategory

func (RuleRuleAttributes) Dimension

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 (RuleRuleAttributes) Or

func (RuleRuleAttributes) Tags

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 RuleTags

type RuleTags struct{}

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 (RuleTagsAttributes) MatchOptions

func (RuleTagsAttributes) Values

type RuleTagsState

type RuleTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

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 (SplitChargeRuleAttributes) Method

func (SplitChargeRuleAttributes) Parameter

func (SplitChargeRuleAttributes) Source

func (SplitChargeRuleAttributes) Targets

type SplitChargeRuleState

type SplitChargeRuleState struct {
	Method    string           `json:"method"`
	Source    string           `json:"source"`
	Targets   []string         `json:"targets"`
	Parameter []ParameterState `json:"parameter"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL