Documentation ¶
Index ¶
- type Execution
- type ExecutionAttributes
- func (e ExecutionAttributes) EndedTime() terra.StringValue
- func (e ExecutionAttributes) InternalRef() (terra.Reference, error)
- func (e ExecutionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ExecutionAttributes) InternalWithRef(ref terra.Reference) ExecutionAttributes
- func (e ExecutionAttributes) StartedTime() terra.StringValue
- type ExecutionState
- type Groups
- type GroupsAttributes
- func (g GroupsAttributes) Description() terra.StringValue
- func (g GroupsAttributes) Feature() terra.StringValue
- func (g GroupsAttributes) InternalRef() (terra.Reference, error)
- func (g GroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GroupsAttributes) InternalWithRef(ref terra.Reference) GroupsAttributes
- func (g GroupsAttributes) Name() terra.StringValue
- func (g GroupsAttributes) Variation() terra.StringValue
- type GroupsState
- type MetricDefinition
- type MetricDefinitionAttributes
- func (md MetricDefinitionAttributes) EntityIdKey() terra.StringValue
- func (md MetricDefinitionAttributes) EventPattern() terra.StringValue
- func (md MetricDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (md MetricDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (md MetricDefinitionAttributes) InternalWithRef(ref terra.Reference) MetricDefinitionAttributes
- func (md MetricDefinitionAttributes) Name() terra.StringValue
- func (md MetricDefinitionAttributes) UnitLabel() terra.StringValue
- func (md MetricDefinitionAttributes) ValueKey() terra.StringValue
- type MetricDefinitionState
- type MetricMonitors
- type MetricMonitorsAttributes
- func (mm MetricMonitorsAttributes) InternalRef() (terra.Reference, error)
- func (mm MetricMonitorsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mm MetricMonitorsAttributes) InternalWithRef(ref terra.Reference) MetricMonitorsAttributes
- func (mm MetricMonitorsAttributes) MetricDefinition() terra.ListValue[MetricDefinitionAttributes]
- type MetricMonitorsState
- type ScheduledSplitsConfig
- type ScheduledSplitsConfigAttributes
- func (ssc ScheduledSplitsConfigAttributes) InternalRef() (terra.Reference, error)
- func (ssc ScheduledSplitsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssc ScheduledSplitsConfigAttributes) InternalWithRef(ref terra.Reference) ScheduledSplitsConfigAttributes
- func (ssc ScheduledSplitsConfigAttributes) Steps() terra.ListValue[StepsAttributes]
- type ScheduledSplitsConfigState
- type SegmentOverrides
- type SegmentOverridesAttributes
- func (so SegmentOverridesAttributes) EvaluationOrder() terra.NumberValue
- func (so SegmentOverridesAttributes) InternalRef() (terra.Reference, error)
- func (so SegmentOverridesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so SegmentOverridesAttributes) InternalWithRef(ref terra.Reference) SegmentOverridesAttributes
- func (so SegmentOverridesAttributes) Segment() terra.StringValue
- func (so SegmentOverridesAttributes) Weights() terra.MapValue[terra.NumberValue]
- type SegmentOverridesState
- type Steps
- type StepsAttributes
- func (s StepsAttributes) GroupWeights() terra.MapValue[terra.NumberValue]
- func (s StepsAttributes) InternalRef() (terra.Reference, error)
- func (s StepsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StepsAttributes) InternalWithRef(ref terra.Reference) StepsAttributes
- func (s StepsAttributes) SegmentOverrides() terra.ListValue[SegmentOverridesAttributes]
- func (s StepsAttributes) StartTime() terra.StringValue
- type StepsState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionAttributes ¶
type ExecutionAttributes struct {
// contains filtered or unexported fields
}
func (ExecutionAttributes) EndedTime ¶
func (e ExecutionAttributes) EndedTime() terra.StringValue
func (ExecutionAttributes) InternalRef ¶
func (e ExecutionAttributes) InternalRef() (terra.Reference, error)
func (ExecutionAttributes) InternalTokens ¶
func (e ExecutionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExecutionAttributes) InternalWithRef ¶
func (e ExecutionAttributes) InternalWithRef(ref terra.Reference) ExecutionAttributes
func (ExecutionAttributes) StartedTime ¶
func (e ExecutionAttributes) StartedTime() terra.StringValue
type ExecutionState ¶
type Groups ¶
type Groups struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Feature: string, required Feature terra.StringValue `hcl:"feature,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Variation: string, required Variation terra.StringValue `hcl:"variation,attr" validate:"required"` }
type GroupsAttributes ¶
type GroupsAttributes struct {
// contains filtered or unexported fields
}
func (GroupsAttributes) Description ¶
func (g GroupsAttributes) Description() terra.StringValue
func (GroupsAttributes) Feature ¶
func (g GroupsAttributes) Feature() terra.StringValue
func (GroupsAttributes) InternalRef ¶
func (g GroupsAttributes) InternalRef() (terra.Reference, error)
func (GroupsAttributes) InternalTokens ¶
func (g GroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GroupsAttributes) InternalWithRef ¶
func (g GroupsAttributes) InternalWithRef(ref terra.Reference) GroupsAttributes
func (GroupsAttributes) Name ¶
func (g GroupsAttributes) Name() terra.StringValue
func (GroupsAttributes) Variation ¶
func (g GroupsAttributes) Variation() terra.StringValue
type GroupsState ¶
type MetricDefinition ¶
type MetricDefinition struct { // EntityIdKey: string, required EntityIdKey terra.StringValue `hcl:"entity_id_key,attr" validate:"required"` // EventPattern: string, optional EventPattern terra.StringValue `hcl:"event_pattern,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // UnitLabel: string, optional UnitLabel terra.StringValue `hcl:"unit_label,attr"` // ValueKey: string, required ValueKey terra.StringValue `hcl:"value_key,attr" validate:"required"` }
type MetricDefinitionAttributes ¶
type MetricDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (MetricDefinitionAttributes) EntityIdKey ¶
func (md MetricDefinitionAttributes) EntityIdKey() terra.StringValue
func (MetricDefinitionAttributes) EventPattern ¶
func (md MetricDefinitionAttributes) EventPattern() terra.StringValue
func (MetricDefinitionAttributes) InternalRef ¶
func (md MetricDefinitionAttributes) InternalRef() (terra.Reference, error)
func (MetricDefinitionAttributes) InternalTokens ¶
func (md MetricDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricDefinitionAttributes) InternalWithRef ¶
func (md MetricDefinitionAttributes) InternalWithRef(ref terra.Reference) MetricDefinitionAttributes
func (MetricDefinitionAttributes) Name ¶
func (md MetricDefinitionAttributes) Name() terra.StringValue
func (MetricDefinitionAttributes) UnitLabel ¶
func (md MetricDefinitionAttributes) UnitLabel() terra.StringValue
func (MetricDefinitionAttributes) ValueKey ¶
func (md MetricDefinitionAttributes) ValueKey() terra.StringValue
type MetricDefinitionState ¶
type MetricMonitors ¶
type MetricMonitors struct { // MetricDefinition: required MetricDefinition *MetricDefinition `hcl:"metric_definition,block" validate:"required"` }
type MetricMonitorsAttributes ¶
type MetricMonitorsAttributes struct {
// contains filtered or unexported fields
}
func (MetricMonitorsAttributes) InternalRef ¶
func (mm MetricMonitorsAttributes) InternalRef() (terra.Reference, error)
func (MetricMonitorsAttributes) InternalTokens ¶
func (mm MetricMonitorsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricMonitorsAttributes) InternalWithRef ¶
func (mm MetricMonitorsAttributes) InternalWithRef(ref terra.Reference) MetricMonitorsAttributes
func (MetricMonitorsAttributes) MetricDefinition ¶
func (mm MetricMonitorsAttributes) MetricDefinition() terra.ListValue[MetricDefinitionAttributes]
type MetricMonitorsState ¶
type MetricMonitorsState struct {
MetricDefinition []MetricDefinitionState `json:"metric_definition"`
}
type ScheduledSplitsConfig ¶
type ScheduledSplitsConfig struct { // Steps: min=1,max=6 Steps []Steps `hcl:"steps,block" validate:"min=1,max=6"` }
type ScheduledSplitsConfigAttributes ¶
type ScheduledSplitsConfigAttributes struct {
// contains filtered or unexported fields
}
func (ScheduledSplitsConfigAttributes) InternalRef ¶
func (ssc ScheduledSplitsConfigAttributes) InternalRef() (terra.Reference, error)
func (ScheduledSplitsConfigAttributes) InternalTokens ¶
func (ssc ScheduledSplitsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduledSplitsConfigAttributes) InternalWithRef ¶
func (ssc ScheduledSplitsConfigAttributes) InternalWithRef(ref terra.Reference) ScheduledSplitsConfigAttributes
func (ScheduledSplitsConfigAttributes) Steps ¶
func (ssc ScheduledSplitsConfigAttributes) Steps() terra.ListValue[StepsAttributes]
type ScheduledSplitsConfigState ¶
type ScheduledSplitsConfigState struct {
Steps []StepsState `json:"steps"`
}
type SegmentOverrides ¶
type SegmentOverrides struct { // EvaluationOrder: number, required EvaluationOrder terra.NumberValue `hcl:"evaluation_order,attr" validate:"required"` // Segment: string, required Segment terra.StringValue `hcl:"segment,attr" validate:"required"` // Weights: map of number, required Weights terra.MapValue[terra.NumberValue] `hcl:"weights,attr" validate:"required"` }
type SegmentOverridesAttributes ¶
type SegmentOverridesAttributes struct {
// contains filtered or unexported fields
}
func (SegmentOverridesAttributes) EvaluationOrder ¶
func (so SegmentOverridesAttributes) EvaluationOrder() terra.NumberValue
func (SegmentOverridesAttributes) InternalRef ¶
func (so SegmentOverridesAttributes) InternalRef() (terra.Reference, error)
func (SegmentOverridesAttributes) InternalTokens ¶
func (so SegmentOverridesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SegmentOverridesAttributes) InternalWithRef ¶
func (so SegmentOverridesAttributes) InternalWithRef(ref terra.Reference) SegmentOverridesAttributes
func (SegmentOverridesAttributes) Segment ¶
func (so SegmentOverridesAttributes) Segment() terra.StringValue
func (SegmentOverridesAttributes) Weights ¶
func (so SegmentOverridesAttributes) Weights() terra.MapValue[terra.NumberValue]
type SegmentOverridesState ¶
type Steps ¶
type Steps struct { // GroupWeights: map of number, required GroupWeights terra.MapValue[terra.NumberValue] `hcl:"group_weights,attr" validate:"required"` // StartTime: string, required StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"` // SegmentOverrides: min=0,max=6 SegmentOverrides []SegmentOverrides `hcl:"segment_overrides,block" validate:"min=0,max=6"` }
type StepsAttributes ¶
type StepsAttributes struct {
// contains filtered or unexported fields
}
func (StepsAttributes) GroupWeights ¶
func (s StepsAttributes) GroupWeights() terra.MapValue[terra.NumberValue]
func (StepsAttributes) InternalRef ¶
func (s StepsAttributes) InternalRef() (terra.Reference, error)
func (StepsAttributes) InternalTokens ¶
func (s StepsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StepsAttributes) InternalWithRef ¶
func (s StepsAttributes) InternalWithRef(ref terra.Reference) StepsAttributes
func (StepsAttributes) SegmentOverrides ¶
func (s StepsAttributes) SegmentOverrides() terra.ListValue[SegmentOverridesAttributes]
func (StepsAttributes) StartTime ¶
func (s StepsAttributes) StartTime() terra.StringValue
type StepsState ¶
type StepsState struct { GroupWeights map[string]float64 `json:"group_weights"` StartTime string `json:"start_time"` SegmentOverrides []SegmentOverridesState `json:"segment_overrides"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.