Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventTypeFind = "Find" EventTypeSelect = "Select" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datadog ¶
type Datadog struct {
// contains filtered or unexported fields
}
func NewDatadog ¶
func NewDatadog(config DatadogConfig, logger boshlog.Logger) Datadog
func (Datadog) ReportEventExecutionCompletion ¶
func (Datadog) ReportEventExecutionStart ¶
func (Datadog) ReportIncidentExecutionCompletion ¶
func (Datadog) ReportIncidentExecutionStart ¶
type DatadogConfig ¶
func (DatadogConfig) Required ¶
func (c DatadogConfig) Required() bool
func (DatadogConfig) Validate ¶
func (c DatadogConfig) Validate() error
type Event ¶
type EventInstance ¶
type EventInstanceResp ¶
type EventResponse ¶
type EventResponse struct { ID string Type string Instance EventInstanceResp ExecutionStartedAt string ExecutionCompletedAt string Error string // contains filtered or unexported fields }
func NewEventResponse ¶
func NewEventResponse(event *Event) EventResponse
func (EventResponse) DescriptionHTML ¶
func (r EventResponse) DescriptionHTML() template.HTML
func (EventResponse) IsAction ¶
func (r EventResponse) IsAction() bool
type EventResult ¶
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
func (*Events) FirstError ¶
func (*Events) RegisterResult ¶
func (e *Events) RegisterResult(r EventResult)
func (*Events) Results ¶
func (e *Events) Results() chan EventResult
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (Logger) ReportEventExecutionCompletion ¶
func (Logger) ReportEventExecutionStart ¶
func (Logger) ReportIncidentExecutionCompletion ¶
func (Logger) ReportIncidentExecutionStart ¶
Click to show internal directories.
Click to hide internal directories.