Documentation
¶
Index ¶
- Constants
- func WireUp(stateResource *orch_v1.StateResource, context *wiringplugin.WiringContext) (*wiringplugin.WiringResultSuccess, bool, error)
- type AlarmAttributes
- type AlarmOptions
- type AlarmSpecType
- type AlarmThresholds
- type AlarmType
- type OSBInstanceParameters
- type QueryParams
- type WiringPlugin
Constants ¶
View Source
const (
ResourceType voyager.ResourceType = "DatadogAlarm"
)
Variables ¶
This section is empty.
Functions ¶
func WireUp ¶
func WireUp(stateResource *orch_v1.StateResource, context *wiringplugin.WiringContext) (*wiringplugin.WiringResultSuccess, bool, error)
Types ¶
type AlarmAttributes ¶
type AlarmAttributes struct { Name string `json:"name"` Type AlarmSpecType `json:"type"` Query string `json:"query"` Options AlarmOptions `json:"options"` Message string `json:"message"` }
type AlarmOptions ¶
type AlarmOptions struct { Thresholds *AlarmThresholds `json:"thresholds,omitempty"` NewHostDelay *int32 `json:"new_host_delay,omitempty"` RenotifyInterval *int32 `json:"renotify_interval,omitempty"` TimeoutSeconds *int32 `json:"timeout_h,omitempty"` EscalationMessage string `json:"escalation_message,omitempty"` NoDataTimeFrame string `json:"no_data_timeframe,omitempty"` Locked bool `json:"locked,omitempty"` NotifyNoData bool `json:"notify_no_data,omitempty"` NotifyAudit bool `json:"notify_audit,omitempty"` RequireFullWindow bool `json:"require_full_window,omitempty"` }
type AlarmThresholds ¶
type OSBInstanceParameters ¶
type OSBInstanceParameters struct { ServiceName voyager.ServiceName `json:"serviceName"` EnvType voyager.EnvType `json:"envType"` Region voyager.Region `json:"region"` Label voyager.Label `json:"label,omitempty"` Attributes AlarmAttributes `json:"attributes"` }
type QueryParams ¶
type WiringPlugin ¶
type WiringPlugin struct { }
Click to show internal directories.
Click to hide internal directories.