datacetags

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: optional
	CostCategory *AndCostCategory `hcl:"cost_category,block"`
	// AndDimension: optional
	Dimension *AndDimension `hcl:"dimension,block"`
	// AndTags: optional
	Tags *AndTags `hcl:"tags,block"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 Filter

type Filter struct {
	// And: min=0
	And []And `hcl:"and,block" validate:"min=0"`
	// FilterCostCategory: optional
	CostCategory *FilterCostCategory `hcl:"cost_category,block"`
	// FilterDimension: optional
	Dimension *FilterDimension `hcl:"dimension,block"`
	// Not: optional
	Not *Not `hcl:"not,block"`
	// Or: min=0
	Or []Or `hcl:"or,block" validate:"min=0"`
	// FilterTags: optional
	Tags *FilterTags `hcl:"tags,block"`
}

type FilterAttributes

type FilterAttributes struct {
	// contains filtered or unexported fields
}

func (FilterAttributes) And

func (FilterAttributes) CostCategory

func (FilterAttributes) Dimension

func (FilterAttributes) InternalRef

func (f FilterAttributes) InternalRef() (terra.Reference, error)

func (FilterAttributes) InternalTokens

func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterAttributes) InternalWithRef

func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes

func (FilterAttributes) Not

func (FilterAttributes) Or

func (FilterAttributes) Tags

type FilterCostCategory

type FilterCostCategory struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type FilterCostCategoryAttributes

type FilterCostCategoryAttributes struct {
	// contains filtered or unexported fields
}

func (FilterCostCategoryAttributes) InternalRef

func (cc FilterCostCategoryAttributes) InternalRef() (terra.Reference, error)

func (FilterCostCategoryAttributes) InternalTokens

func (cc FilterCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterCostCategoryAttributes) InternalWithRef

func (FilterCostCategoryAttributes) Key

func (FilterCostCategoryAttributes) MatchOptions

func (FilterCostCategoryAttributes) Values

type FilterCostCategoryState

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

type FilterDimension

type FilterDimension struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type FilterDimensionAttributes

type FilterDimensionAttributes struct {
	// contains filtered or unexported fields
}

func (FilterDimensionAttributes) InternalRef

func (d FilterDimensionAttributes) InternalRef() (terra.Reference, error)

func (FilterDimensionAttributes) InternalTokens

func (d FilterDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterDimensionAttributes) InternalWithRef

func (FilterDimensionAttributes) Key

func (FilterDimensionAttributes) MatchOptions

func (FilterDimensionAttributes) Values

type FilterDimensionState

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

type FilterState

type FilterState struct {
	And          []AndState                `json:"and"`
	CostCategory []FilterCostCategoryState `json:"cost_category"`
	Dimension    []FilterDimensionState    `json:"dimension"`
	Not          []NotState                `json:"not"`
	Or           []OrState                 `json:"or"`
	Tags         []FilterTagsState         `json:"tags"`
}

type FilterTags

type FilterTags struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type FilterTagsAttributes

type FilterTagsAttributes struct {
	// contains filtered or unexported fields
}

func (FilterTagsAttributes) InternalRef

func (t FilterTagsAttributes) InternalRef() (terra.Reference, error)

func (FilterTagsAttributes) InternalTokens

func (t FilterTagsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterTagsAttributes) InternalWithRef

func (FilterTagsAttributes) Key

func (FilterTagsAttributes) MatchOptions

func (FilterTagsAttributes) Values

type FilterTagsState

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

type Not

type Not struct {
	// NotCostCategory: optional
	CostCategory *NotCostCategory `hcl:"cost_category,block"`
	// NotDimension: optional
	Dimension *NotDimension `hcl:"dimension,block"`
	// NotTags: optional
	Tags *NotTags `hcl:"tags,block"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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: optional
	CostCategory *OrCostCategory `hcl:"cost_category,block"`
	// OrDimension: optional
	Dimension *OrDimension `hcl:"dimension,block"`
	// OrTags: optional
	Tags *OrTags `hcl:"tags,block"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

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 SortBy

type SortBy struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// SortOrder: string, optional
	SortOrder terra.StringValue `hcl:"sort_order,attr"`
}

type SortByAttributes

type SortByAttributes struct {
	// contains filtered or unexported fields
}

func (SortByAttributes) InternalRef

func (sb SortByAttributes) InternalRef() (terra.Reference, error)

func (SortByAttributes) InternalTokens

func (sb SortByAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SortByAttributes) InternalWithRef

func (sb SortByAttributes) InternalWithRef(ref terra.Reference) SortByAttributes

func (SortByAttributes) Key

func (SortByAttributes) SortOrder

func (sb SortByAttributes) SortOrder() terra.StringValue

type SortByState

type SortByState struct {
	Key       string `json:"key"`
	SortOrder string `json:"sort_order"`
}

type TimePeriod

type TimePeriod struct {
	// End: string, required
	End terra.StringValue `hcl:"end,attr" validate:"required"`
	// Start: string, required
	Start terra.StringValue `hcl:"start,attr" validate:"required"`
}

type TimePeriodAttributes

type TimePeriodAttributes struct {
	// contains filtered or unexported fields
}

func (TimePeriodAttributes) End

func (TimePeriodAttributes) InternalRef

func (tp TimePeriodAttributes) InternalRef() (terra.Reference, error)

func (TimePeriodAttributes) InternalTokens

func (tp TimePeriodAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimePeriodAttributes) InternalWithRef

func (tp TimePeriodAttributes) InternalWithRef(ref terra.Reference) TimePeriodAttributes

func (TimePeriodAttributes) Start

type TimePeriodState

type TimePeriodState struct {
	End   string `json:"end"`
	Start string `json:"start"`
}

Jump to

Keyboard shortcuts

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