Documentation ¶
Index ¶
- type MetricTransformation
- type MetricTransformationAttributes
- func (mt MetricTransformationAttributes) DefaultValue() terra.StringValue
- func (mt MetricTransformationAttributes) Dimensions() terra.MapValue[terra.StringValue]
- func (mt MetricTransformationAttributes) InternalRef() (terra.Reference, error)
- func (mt MetricTransformationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mt MetricTransformationAttributes) InternalWithRef(ref terra.Reference) MetricTransformationAttributes
- func (mt MetricTransformationAttributes) Name() terra.StringValue
- func (mt MetricTransformationAttributes) Namespace() terra.StringValue
- func (mt MetricTransformationAttributes) Unit() terra.StringValue
- func (mt MetricTransformationAttributes) Value() terra.StringValue
- type MetricTransformationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricTransformation ¶
type MetricTransformation struct { // DefaultValue: string, optional DefaultValue terra.StringValue `hcl:"default_value,attr"` // Dimensions: map of string, optional Dimensions terra.MapValue[terra.StringValue] `hcl:"dimensions,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` // Unit: string, optional Unit terra.StringValue `hcl:"unit,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type MetricTransformationAttributes ¶
type MetricTransformationAttributes struct {
// contains filtered or unexported fields
}
func (MetricTransformationAttributes) DefaultValue ¶
func (mt MetricTransformationAttributes) DefaultValue() terra.StringValue
func (MetricTransformationAttributes) Dimensions ¶
func (mt MetricTransformationAttributes) Dimensions() terra.MapValue[terra.StringValue]
func (MetricTransformationAttributes) InternalRef ¶
func (mt MetricTransformationAttributes) InternalRef() (terra.Reference, error)
func (MetricTransformationAttributes) InternalTokens ¶
func (mt MetricTransformationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricTransformationAttributes) InternalWithRef ¶
func (mt MetricTransformationAttributes) InternalWithRef(ref terra.Reference) MetricTransformationAttributes
func (MetricTransformationAttributes) Name ¶
func (mt MetricTransformationAttributes) Name() terra.StringValue
func (MetricTransformationAttributes) Namespace ¶
func (mt MetricTransformationAttributes) Namespace() terra.StringValue
func (MetricTransformationAttributes) Unit ¶
func (mt MetricTransformationAttributes) Unit() terra.StringValue
func (MetricTransformationAttributes) Value ¶
func (mt MetricTransformationAttributes) Value() terra.StringValue
Click to show internal directories.
Click to hide internal directories.