Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzerInput ¶
type AnalyzerInput struct { Input AnalyzerInputFields `json:"input,omitempty"` // Input fields for the specified analyzer Name string `json:"name"` // Fully qualified name of the analyzer }
func (*AnalyzerInput) MarshalHCL ¶
func (me *AnalyzerInput) MarshalHCL(properties hcl.Properties) error
func (*AnalyzerInput) UnmarshalHCL ¶
func (me *AnalyzerInput) UnmarshalHCL(decoder hcl.Decoder) error
type AnalyzerInputField ¶
func (*AnalyzerInputField) MarshalHCL ¶
func (me *AnalyzerInputField) MarshalHCL(properties hcl.Properties) error
func (*AnalyzerInputField) Schema ¶
func (me *AnalyzerInputField) Schema() map[string]*schema.Schema
func (*AnalyzerInputField) UnmarshalHCL ¶
func (me *AnalyzerInputField) UnmarshalHCL(decoder hcl.Decoder) error
type AnalyzerInputFields ¶
type AnalyzerInputFields []*AnalyzerInputField
func (AnalyzerInputFields) MarshalHCL ¶
func (me AnalyzerInputFields) MarshalHCL(properties hcl.Properties) error
func (*AnalyzerInputFields) Schema ¶
func (me *AnalyzerInputFields) Schema() map[string]*schema.Schema
func (*AnalyzerInputFields) UnmarshalHCL ¶
func (me *AnalyzerInputFields) UnmarshalHCL(decoder hcl.Decoder) error
type DavisEventTemplate ¶
type DavisEventTemplate struct {
Properties EventProperties `json:"properties,omitempty"` // Set of additional key-value properties to be attached to the triggered event.
}
func (*DavisEventTemplate) MarshalHCL ¶
func (me *DavisEventTemplate) MarshalHCL(properties hcl.Properties) error
func (*DavisEventTemplate) Schema ¶
func (me *DavisEventTemplate) Schema() map[string]*schema.Schema
func (*DavisEventTemplate) UnmarshalHCL ¶
func (me *DavisEventTemplate) UnmarshalHCL(decoder hcl.Decoder) error
type EventProperties ¶
type EventProperties []*EventProperty
func (EventProperties) MarshalHCL ¶
func (me EventProperties) MarshalHCL(properties hcl.Properties) error
func (*EventProperties) UnmarshalHCL ¶
func (me *EventProperties) UnmarshalHCL(decoder hcl.Decoder) error
type EventProperty ¶
func (*EventProperty) MarshalHCL ¶
func (me *EventProperty) MarshalHCL(properties hcl.Properties) error
func (*EventProperty) UnmarshalHCL ¶
func (me *EventProperty) UnmarshalHCL(decoder hcl.Decoder) error
type ExecutionSettings ¶
type ExecutionSettings struct {
QueryOffset *int `json:"queryOffset,omitempty"` // Minute offset of sliding evaluation window for metrics with latency
}
func (*ExecutionSettings) MarshalHCL ¶
func (me *ExecutionSettings) MarshalHCL(properties hcl.Properties) error
func (*ExecutionSettings) UnmarshalHCL ¶
func (me *ExecutionSettings) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { Analyzer *AnalyzerInput `json:"analyzer"` // Analyzer input Description string `json:"description"` // The description of the anomaly detector Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) EventTemplate *DavisEventTemplate `json:"eventTemplate"` // Event template ExecutionSettings *ExecutionSettings `json:"executionSettings"` // Execution settings Source string `json:"source"` // Source Title string `json:"title"` // The title of the anomaly detector }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.