evidentlylaunch

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 Execution

type Execution struct{}

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 ExecutionState struct {
	EndedTime   string `json:"ended_time"`
	StartedTime string `json:"started_time"`
}

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 (GroupsAttributes) Variation

func (g GroupsAttributes) Variation() terra.StringValue

type GroupsState

type GroupsState struct {
	Description string `json:"description"`
	Feature     string `json:"feature"`
	Name        string `json:"name"`
	Variation   string `json:"variation"`
}

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 (MetricDefinitionAttributes) Name

func (MetricDefinitionAttributes) UnitLabel

func (MetricDefinitionAttributes) ValueKey

type MetricDefinitionState

type MetricDefinitionState struct {
	EntityIdKey  string `json:"entity_id_key"`
	EventPattern string `json:"event_pattern"`
	Name         string `json:"name"`
	UnitLabel    string `json:"unit_label"`
	ValueKey     string `json:"value_key"`
}

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 (MetricMonitorsAttributes) MetricDefinition

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 (ScheduledSplitsConfigAttributes) InternalTokens

func (ssc ScheduledSplitsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduledSplitsConfigAttributes) InternalWithRef

func (ScheduledSplitsConfigAttributes) Steps

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 (SegmentOverridesAttributes) Segment

func (SegmentOverridesAttributes) Weights

type SegmentOverridesState

type SegmentOverridesState struct {
	EvaluationOrder float64            `json:"evaluation_order"`
	Segment         string             `json:"segment"`
	Weights         map[string]float64 `json:"weights"`
}

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 (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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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