Documentation ¶
Index ¶
- type Filter
- type FilterAttributes
- func (f FilterAttributes) Dimension() terra.ListValue[FilterDimensionAttributes]
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) Not() terra.ListValue[NotAttributes]
- func (f FilterAttributes) Tag() terra.ListValue[FilterTagAttributes]
- type FilterDimension
- type FilterDimensionAttributes
- func (d FilterDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d FilterDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d FilterDimensionAttributes) InternalWithRef(ref terra.Reference) FilterDimensionAttributes
- func (d FilterDimensionAttributes) Name() terra.StringValue
- func (d FilterDimensionAttributes) Operator() terra.StringValue
- func (d FilterDimensionAttributes) Values() terra.ListValue[terra.StringValue]
- type FilterDimensionState
- type FilterState
- type FilterTag
- type FilterTagAttributes
- func (t FilterTagAttributes) InternalRef() (terra.Reference, error)
- func (t FilterTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t FilterTagAttributes) InternalWithRef(ref terra.Reference) FilterTagAttributes
- func (t FilterTagAttributes) Name() terra.StringValue
- func (t FilterTagAttributes) Operator() terra.StringValue
- func (t FilterTagAttributes) Values() terra.ListValue[terra.StringValue]
- type FilterTagState
- type Not
- type NotAttributes
- func (n NotAttributes) Dimension() terra.ListValue[NotDimensionAttributes]
- func (n NotAttributes) InternalRef() (terra.Reference, error)
- func (n NotAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NotAttributes) InternalWithRef(ref terra.Reference) NotAttributes
- func (n NotAttributes) Tag() terra.ListValue[NotTagAttributes]
- type NotDimension
- type NotDimensionAttributes
- func (d NotDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d NotDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d NotDimensionAttributes) InternalWithRef(ref terra.Reference) NotDimensionAttributes
- func (d NotDimensionAttributes) Name() terra.StringValue
- func (d NotDimensionAttributes) Operator() terra.StringValue
- func (d NotDimensionAttributes) Values() terra.ListValue[terra.StringValue]
- type NotDimensionState
- type NotState
- type NotTag
- type NotTagAttributes
- func (t NotTagAttributes) InternalRef() (terra.Reference, error)
- func (t NotTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t NotTagAttributes) InternalWithRef(ref terra.Reference) NotTagAttributes
- func (t NotTagAttributes) Name() terra.StringValue
- func (t NotTagAttributes) Operator() terra.StringValue
- func (t NotTagAttributes) Values() terra.ListValue[terra.StringValue]
- type NotTagState
- type Notification
- type NotificationAttributes
- func (n NotificationAttributes) ContactEmails() terra.ListValue[terra.StringValue]
- func (n NotificationAttributes) ContactGroups() terra.ListValue[terra.StringValue]
- func (n NotificationAttributes) ContactRoles() terra.ListValue[terra.StringValue]
- func (n NotificationAttributes) Enabled() terra.BoolValue
- func (n NotificationAttributes) InternalRef() (terra.Reference, error)
- func (n NotificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NotificationAttributes) InternalWithRef(ref terra.Reference) NotificationAttributes
- func (n NotificationAttributes) Operator() terra.StringValue
- func (n NotificationAttributes) Threshold() terra.NumberValue
- func (n NotificationAttributes) ThresholdType() terra.StringValue
- type NotificationState
- type TimePeriod
- type TimePeriodAttributes
- func (tp TimePeriodAttributes) EndDate() terra.StringValue
- func (tp TimePeriodAttributes) InternalRef() (terra.Reference, error)
- func (tp TimePeriodAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tp TimePeriodAttributes) InternalWithRef(ref terra.Reference) TimePeriodAttributes
- func (tp TimePeriodAttributes) StartDate() terra.StringValue
- type TimePeriodState
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { // FilterDimension: min=0 Dimension []FilterDimension `hcl:"dimension,block" validate:"min=0"` // Not: min=0 Not []Not `hcl:"not,block" validate:"min=0"` // FilterTag: min=0 Tag []FilterTag `hcl:"tag,block" validate:"min=0"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) Dimension ¶
func (f FilterAttributes) Dimension() terra.ListValue[FilterDimensionAttributes]
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 (f FilterAttributes) Not() terra.ListValue[NotAttributes]
func (FilterAttributes) Tag ¶
func (f FilterAttributes) Tag() terra.ListValue[FilterTagAttributes]
type FilterDimension ¶
type FilterDimension struct{}
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 (d FilterDimensionAttributes) InternalWithRef(ref terra.Reference) FilterDimensionAttributes
func (FilterDimensionAttributes) Name ¶
func (d FilterDimensionAttributes) Name() terra.StringValue
func (FilterDimensionAttributes) Operator ¶
func (d FilterDimensionAttributes) Operator() terra.StringValue
func (FilterDimensionAttributes) Values ¶
func (d FilterDimensionAttributes) Values() terra.ListValue[terra.StringValue]
type FilterDimensionState ¶
type FilterState ¶
type FilterState struct { Dimension []FilterDimensionState `json:"dimension"` Not []NotState `json:"not"` Tag []FilterTagState `json:"tag"` }
type FilterTagAttributes ¶
type FilterTagAttributes struct {
// contains filtered or unexported fields
}
func (FilterTagAttributes) InternalRef ¶
func (t FilterTagAttributes) InternalRef() (terra.Reference, error)
func (FilterTagAttributes) InternalTokens ¶
func (t FilterTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterTagAttributes) InternalWithRef ¶
func (t FilterTagAttributes) InternalWithRef(ref terra.Reference) FilterTagAttributes
func (FilterTagAttributes) Name ¶
func (t FilterTagAttributes) Name() terra.StringValue
func (FilterTagAttributes) Operator ¶
func (t FilterTagAttributes) Operator() terra.StringValue
func (FilterTagAttributes) Values ¶
func (t FilterTagAttributes) Values() terra.ListValue[terra.StringValue]
type FilterTagState ¶
type Not ¶
type Not struct { // NotDimension: min=0 Dimension []NotDimension `hcl:"dimension,block" validate:"min=0"` // NotTag: min=0 Tag []NotTag `hcl:"tag,block" validate:"min=0"` }
type NotAttributes ¶
type NotAttributes struct {
// contains filtered or unexported fields
}
func (NotAttributes) Dimension ¶
func (n NotAttributes) Dimension() terra.ListValue[NotDimensionAttributes]
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) Tag ¶
func (n NotAttributes) Tag() terra.ListValue[NotTagAttributes]
type NotDimension ¶
type NotDimension struct{}
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 (d NotDimensionAttributes) InternalWithRef(ref terra.Reference) NotDimensionAttributes
func (NotDimensionAttributes) Name ¶
func (d NotDimensionAttributes) Name() terra.StringValue
func (NotDimensionAttributes) Operator ¶
func (d NotDimensionAttributes) Operator() terra.StringValue
func (NotDimensionAttributes) Values ¶
func (d NotDimensionAttributes) Values() terra.ListValue[terra.StringValue]
type NotDimensionState ¶
type NotState ¶
type NotState struct { Dimension []NotDimensionState `json:"dimension"` Tag []NotTagState `json:"tag"` }
type NotTagAttributes ¶
type NotTagAttributes struct {
// contains filtered or unexported fields
}
func (NotTagAttributes) InternalRef ¶
func (t NotTagAttributes) InternalRef() (terra.Reference, error)
func (NotTagAttributes) InternalTokens ¶
func (t NotTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotTagAttributes) InternalWithRef ¶
func (t NotTagAttributes) InternalWithRef(ref terra.Reference) NotTagAttributes
func (NotTagAttributes) Name ¶
func (t NotTagAttributes) Name() terra.StringValue
func (NotTagAttributes) Operator ¶
func (t NotTagAttributes) Operator() terra.StringValue
func (NotTagAttributes) Values ¶
func (t NotTagAttributes) Values() terra.ListValue[terra.StringValue]
type NotTagState ¶
type Notification ¶
type Notification struct{}
type NotificationAttributes ¶
type NotificationAttributes struct {
// contains filtered or unexported fields
}
func (NotificationAttributes) ContactEmails ¶
func (n NotificationAttributes) ContactEmails() terra.ListValue[terra.StringValue]
func (NotificationAttributes) ContactGroups ¶
func (n NotificationAttributes) ContactGroups() terra.ListValue[terra.StringValue]
func (NotificationAttributes) ContactRoles ¶
func (n NotificationAttributes) ContactRoles() terra.ListValue[terra.StringValue]
func (NotificationAttributes) Enabled ¶
func (n NotificationAttributes) Enabled() terra.BoolValue
func (NotificationAttributes) InternalRef ¶
func (n NotificationAttributes) InternalRef() (terra.Reference, error)
func (NotificationAttributes) InternalTokens ¶
func (n NotificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotificationAttributes) InternalWithRef ¶
func (n NotificationAttributes) InternalWithRef(ref terra.Reference) NotificationAttributes
func (NotificationAttributes) Operator ¶
func (n NotificationAttributes) Operator() terra.StringValue
func (NotificationAttributes) Threshold ¶
func (n NotificationAttributes) Threshold() terra.NumberValue
func (NotificationAttributes) ThresholdType ¶
func (n NotificationAttributes) ThresholdType() terra.StringValue
type NotificationState ¶
type NotificationState struct { ContactEmails []string `json:"contact_emails"` ContactGroups []string `json:"contact_groups"` ContactRoles []string `json:"contact_roles"` Enabled bool `json:"enabled"` Operator string `json:"operator"` Threshold float64 `json:"threshold"` ThresholdType string `json:"threshold_type"` }
type TimePeriod ¶
type TimePeriod struct{}
type TimePeriodAttributes ¶
type TimePeriodAttributes struct {
// contains filtered or unexported fields
}
func (TimePeriodAttributes) EndDate ¶
func (tp TimePeriodAttributes) EndDate() terra.StringValue
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) StartDate ¶
func (tp TimePeriodAttributes) StartDate() terra.StringValue
type TimePeriodState ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.