Documentation
¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) ActionGroup() terra.SetValue[terra.StringValue]
- func (a ActionAttributes) CustomWebhookPayload() terra.StringValue
- func (a ActionAttributes) EmailSubject() terra.StringValue
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- type ActionState
- type MetricTrigger
- type MetricTriggerAttributes
- func (mt MetricTriggerAttributes) InternalRef() (terra.Reference, error)
- func (mt MetricTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mt MetricTriggerAttributes) InternalWithRef(ref terra.Reference) MetricTriggerAttributes
- func (mt MetricTriggerAttributes) MetricColumn() terra.StringValue
- func (mt MetricTriggerAttributes) MetricTriggerType() terra.StringValue
- func (mt MetricTriggerAttributes) Operator() terra.StringValue
- func (mt MetricTriggerAttributes) Threshold() terra.NumberValue
- type MetricTriggerState
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
- type Trigger
- type TriggerAttributes
- func (t TriggerAttributes) InternalRef() (terra.Reference, error)
- func (t TriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TriggerAttributes) InternalWithRef(ref terra.Reference) TriggerAttributes
- func (t TriggerAttributes) MetricTrigger() terra.SetValue[MetricTriggerAttributes]
- func (t TriggerAttributes) Operator() terra.StringValue
- func (t TriggerAttributes) Threshold() terra.NumberValue
- type TriggerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) ActionGroup ¶
func (a ActionAttributes) ActionGroup() terra.SetValue[terra.StringValue]
func (ActionAttributes) CustomWebhookPayload ¶
func (a ActionAttributes) CustomWebhookPayload() terra.StringValue
func (ActionAttributes) EmailSubject ¶
func (a ActionAttributes) EmailSubject() terra.StringValue
func (ActionAttributes) InternalRef ¶
func (a ActionAttributes) InternalRef() (terra.Reference, error)
func (ActionAttributes) InternalTokens ¶
func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAttributes) InternalWithRef ¶
func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
type ActionState ¶
type MetricTrigger ¶
type MetricTrigger struct{}
type MetricTriggerAttributes ¶
type MetricTriggerAttributes struct {
// contains filtered or unexported fields
}
func (MetricTriggerAttributes) InternalRef ¶
func (mt MetricTriggerAttributes) InternalRef() (terra.Reference, error)
func (MetricTriggerAttributes) InternalTokens ¶
func (mt MetricTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricTriggerAttributes) InternalWithRef ¶
func (mt MetricTriggerAttributes) InternalWithRef(ref terra.Reference) MetricTriggerAttributes
func (MetricTriggerAttributes) MetricColumn ¶
func (mt MetricTriggerAttributes) MetricColumn() terra.StringValue
func (MetricTriggerAttributes) MetricTriggerType ¶
func (mt MetricTriggerAttributes) MetricTriggerType() terra.StringValue
func (MetricTriggerAttributes) Operator ¶
func (mt MetricTriggerAttributes) Operator() terra.StringValue
func (MetricTriggerAttributes) Threshold ¶
func (mt MetricTriggerAttributes) Threshold() terra.NumberValue
type MetricTriggerState ¶
type Timeouts ¶
type Timeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
type TimeoutsState ¶
type TimeoutsState struct {
Read string `json:"read"`
}
type Trigger ¶
type Trigger struct { // MetricTrigger: min=0 MetricTrigger []MetricTrigger `hcl:"metric_trigger,block" validate:"min=0"` }
type TriggerAttributes ¶
type TriggerAttributes struct {
// contains filtered or unexported fields
}
func (TriggerAttributes) InternalRef ¶
func (t TriggerAttributes) InternalRef() (terra.Reference, error)
func (TriggerAttributes) InternalTokens ¶
func (t TriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TriggerAttributes) InternalWithRef ¶
func (t TriggerAttributes) InternalWithRef(ref terra.Reference) TriggerAttributes
func (TriggerAttributes) MetricTrigger ¶
func (t TriggerAttributes) MetricTrigger() terra.SetValue[MetricTriggerAttributes]
func (TriggerAttributes) Operator ¶
func (t TriggerAttributes) Operator() terra.StringValue
func (TriggerAttributes) Threshold ¶
func (t TriggerAttributes) Threshold() terra.NumberValue
type TriggerState ¶
type TriggerState struct { Operator string `json:"operator"` Threshold float64 `json:"threshold"` MetricTrigger []MetricTriggerState `json:"metric_trigger"` }
Click to show internal directories.
Click to hide internal directories.