Documentation ¶
Index ¶
- type AdvancedEventSelector
- type AdvancedEventSelectorAttributes
- func (aes AdvancedEventSelectorAttributes) FieldSelector() terra.SetValue[FieldSelectorAttributes]
- func (aes AdvancedEventSelectorAttributes) InternalRef() (terra.Reference, error)
- func (aes AdvancedEventSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aes AdvancedEventSelectorAttributes) InternalWithRef(ref terra.Reference) AdvancedEventSelectorAttributes
- func (aes AdvancedEventSelectorAttributes) Name() terra.StringValue
- type AdvancedEventSelectorState
- type DataResource
- type DataResourceAttributes
- func (dr DataResourceAttributes) InternalRef() (terra.Reference, error)
- func (dr DataResourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr DataResourceAttributes) InternalWithRef(ref terra.Reference) DataResourceAttributes
- func (dr DataResourceAttributes) Type() terra.StringValue
- func (dr DataResourceAttributes) Values() terra.ListValue[terra.StringValue]
- type DataResourceState
- type EventSelector
- type EventSelectorAttributes
- func (es EventSelectorAttributes) DataResource() terra.ListValue[DataResourceAttributes]
- func (es EventSelectorAttributes) ExcludeManagementEventSources() terra.SetValue[terra.StringValue]
- func (es EventSelectorAttributes) IncludeManagementEvents() terra.BoolValue
- func (es EventSelectorAttributes) InternalRef() (terra.Reference, error)
- func (es EventSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (es EventSelectorAttributes) InternalWithRef(ref terra.Reference) EventSelectorAttributes
- func (es EventSelectorAttributes) ReadWriteType() terra.StringValue
- type EventSelectorState
- type FieldSelector
- type FieldSelectorAttributes
- func (fs FieldSelectorAttributes) EndsWith() terra.ListValue[terra.StringValue]
- func (fs FieldSelectorAttributes) Equals() terra.ListValue[terra.StringValue]
- func (fs FieldSelectorAttributes) Field() terra.StringValue
- func (fs FieldSelectorAttributes) InternalRef() (terra.Reference, error)
- func (fs FieldSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fs FieldSelectorAttributes) InternalWithRef(ref terra.Reference) FieldSelectorAttributes
- func (fs FieldSelectorAttributes) NotEndsWith() terra.ListValue[terra.StringValue]
- func (fs FieldSelectorAttributes) NotEquals() terra.ListValue[terra.StringValue]
- func (fs FieldSelectorAttributes) NotStartsWith() terra.ListValue[terra.StringValue]
- func (fs FieldSelectorAttributes) StartsWith() terra.ListValue[terra.StringValue]
- type FieldSelectorState
- type InsightSelector
- type InsightSelectorAttributes
- func (is InsightSelectorAttributes) InsightType() terra.StringValue
- func (is InsightSelectorAttributes) InternalRef() (terra.Reference, error)
- func (is InsightSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (is InsightSelectorAttributes) InternalWithRef(ref terra.Reference) InsightSelectorAttributes
- type InsightSelectorState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedEventSelector ¶
type AdvancedEventSelector struct { // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // FieldSelector: min=1 FieldSelector []FieldSelector `hcl:"field_selector,block" validate:"min=1"` }
type AdvancedEventSelectorAttributes ¶
type AdvancedEventSelectorAttributes struct {
// contains filtered or unexported fields
}
func (AdvancedEventSelectorAttributes) FieldSelector ¶
func (aes AdvancedEventSelectorAttributes) FieldSelector() terra.SetValue[FieldSelectorAttributes]
func (AdvancedEventSelectorAttributes) InternalRef ¶
func (aes AdvancedEventSelectorAttributes) InternalRef() (terra.Reference, error)
func (AdvancedEventSelectorAttributes) InternalTokens ¶
func (aes AdvancedEventSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AdvancedEventSelectorAttributes) InternalWithRef ¶
func (aes AdvancedEventSelectorAttributes) InternalWithRef(ref terra.Reference) AdvancedEventSelectorAttributes
func (AdvancedEventSelectorAttributes) Name ¶
func (aes AdvancedEventSelectorAttributes) Name() terra.StringValue
type AdvancedEventSelectorState ¶
type AdvancedEventSelectorState struct { Name string `json:"name"` FieldSelector []FieldSelectorState `json:"field_selector"` }
type DataResource ¶
type DataResource struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type DataResourceAttributes ¶
type DataResourceAttributes struct {
// contains filtered or unexported fields
}
func (DataResourceAttributes) InternalRef ¶
func (dr DataResourceAttributes) InternalRef() (terra.Reference, error)
func (DataResourceAttributes) InternalTokens ¶
func (dr DataResourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataResourceAttributes) InternalWithRef ¶
func (dr DataResourceAttributes) InternalWithRef(ref terra.Reference) DataResourceAttributes
func (DataResourceAttributes) Type ¶
func (dr DataResourceAttributes) Type() terra.StringValue
func (DataResourceAttributes) Values ¶
func (dr DataResourceAttributes) Values() terra.ListValue[terra.StringValue]
type DataResourceState ¶
type EventSelector ¶
type EventSelector struct { // ExcludeManagementEventSources: set of string, optional ExcludeManagementEventSources terra.SetValue[terra.StringValue] `hcl:"exclude_management_event_sources,attr"` // IncludeManagementEvents: bool, optional IncludeManagementEvents terra.BoolValue `hcl:"include_management_events,attr"` // ReadWriteType: string, optional ReadWriteType terra.StringValue `hcl:"read_write_type,attr"` // DataResource: min=0 DataResource []DataResource `hcl:"data_resource,block" validate:"min=0"` }
type EventSelectorAttributes ¶
type EventSelectorAttributes struct {
// contains filtered or unexported fields
}
func (EventSelectorAttributes) DataResource ¶
func (es EventSelectorAttributes) DataResource() terra.ListValue[DataResourceAttributes]
func (EventSelectorAttributes) ExcludeManagementEventSources ¶
func (es EventSelectorAttributes) ExcludeManagementEventSources() terra.SetValue[terra.StringValue]
func (EventSelectorAttributes) IncludeManagementEvents ¶
func (es EventSelectorAttributes) IncludeManagementEvents() terra.BoolValue
func (EventSelectorAttributes) InternalRef ¶
func (es EventSelectorAttributes) InternalRef() (terra.Reference, error)
func (EventSelectorAttributes) InternalTokens ¶
func (es EventSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventSelectorAttributes) InternalWithRef ¶
func (es EventSelectorAttributes) InternalWithRef(ref terra.Reference) EventSelectorAttributes
func (EventSelectorAttributes) ReadWriteType ¶
func (es EventSelectorAttributes) ReadWriteType() terra.StringValue
type EventSelectorState ¶
type EventSelectorState struct { ExcludeManagementEventSources []string `json:"exclude_management_event_sources"` IncludeManagementEvents bool `json:"include_management_events"` ReadWriteType string `json:"read_write_type"` DataResource []DataResourceState `json:"data_resource"` }
type FieldSelector ¶
type FieldSelector struct { // EndsWith: list of string, optional EndsWith terra.ListValue[terra.StringValue] `hcl:"ends_with,attr"` // Equals: list of string, optional Equals terra.ListValue[terra.StringValue] `hcl:"equals,attr"` // Field: string, required Field terra.StringValue `hcl:"field,attr" validate:"required"` // NotEndsWith: list of string, optional NotEndsWith terra.ListValue[terra.StringValue] `hcl:"not_ends_with,attr"` // NotEquals: list of string, optional NotEquals terra.ListValue[terra.StringValue] `hcl:"not_equals,attr"` // NotStartsWith: list of string, optional NotStartsWith terra.ListValue[terra.StringValue] `hcl:"not_starts_with,attr"` // StartsWith: list of string, optional StartsWith terra.ListValue[terra.StringValue] `hcl:"starts_with,attr"` }
type FieldSelectorAttributes ¶
type FieldSelectorAttributes struct {
// contains filtered or unexported fields
}
func (FieldSelectorAttributes) EndsWith ¶
func (fs FieldSelectorAttributes) EndsWith() terra.ListValue[terra.StringValue]
func (FieldSelectorAttributes) Equals ¶
func (fs FieldSelectorAttributes) Equals() terra.ListValue[terra.StringValue]
func (FieldSelectorAttributes) Field ¶
func (fs FieldSelectorAttributes) Field() terra.StringValue
func (FieldSelectorAttributes) InternalRef ¶
func (fs FieldSelectorAttributes) InternalRef() (terra.Reference, error)
func (FieldSelectorAttributes) InternalTokens ¶
func (fs FieldSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FieldSelectorAttributes) InternalWithRef ¶
func (fs FieldSelectorAttributes) InternalWithRef(ref terra.Reference) FieldSelectorAttributes
func (FieldSelectorAttributes) NotEndsWith ¶
func (fs FieldSelectorAttributes) NotEndsWith() terra.ListValue[terra.StringValue]
func (FieldSelectorAttributes) NotEquals ¶
func (fs FieldSelectorAttributes) NotEquals() terra.ListValue[terra.StringValue]
func (FieldSelectorAttributes) NotStartsWith ¶
func (fs FieldSelectorAttributes) NotStartsWith() terra.ListValue[terra.StringValue]
func (FieldSelectorAttributes) StartsWith ¶
func (fs FieldSelectorAttributes) StartsWith() terra.ListValue[terra.StringValue]
type FieldSelectorState ¶
type FieldSelectorState struct { EndsWith []string `json:"ends_with"` Equals []string `json:"equals"` Field string `json:"field"` NotEndsWith []string `json:"not_ends_with"` NotEquals []string `json:"not_equals"` NotStartsWith []string `json:"not_starts_with"` StartsWith []string `json:"starts_with"` }
type InsightSelector ¶
type InsightSelector struct { // InsightType: string, required InsightType terra.StringValue `hcl:"insight_type,attr" validate:"required"` }
type InsightSelectorAttributes ¶
type InsightSelectorAttributes struct {
// contains filtered or unexported fields
}
func (InsightSelectorAttributes) InsightType ¶
func (is InsightSelectorAttributes) InsightType() terra.StringValue
func (InsightSelectorAttributes) InternalRef ¶
func (is InsightSelectorAttributes) InternalRef() (terra.Reference, error)
func (InsightSelectorAttributes) InternalTokens ¶
func (is InsightSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InsightSelectorAttributes) InternalWithRef ¶
func (is InsightSelectorAttributes) InternalWithRef(ref terra.Reference) InsightSelectorAttributes
type InsightSelectorState ¶
type InsightSelectorState struct {
InsightType string `json:"insight_type"`
}
Click to show internal directories.
Click to hide internal directories.