amdomain

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Structure of data for all state changes

Index

Constants

This section is empty.

Variables

View Source
var Types = ehevent.Allocators{
	"AlertRaised":               func() ehevent.Event { return &AlertRaised{} },
	"AlertAcknowledged":         func() ehevent.Event { return &AlertAcknowledged{} },
	"UnnoticedAlertsNotified":   func() ehevent.Event { return &UnnoticedAlertsNotified{} },
	"HttpMonitorCreated":        func() ehevent.Event { return &HttpMonitorCreated{} },
	"HttpMonitorEnabledUpdated": func() ehevent.Event { return &HttpMonitorEnabledUpdated{} },
	"HttpMonitorDeleted":        func() ehevent.Event { return &HttpMonitorDeleted{} },
	"DeadMansSwitchCreated":     func() ehevent.Event { return &DeadMansSwitchCreated{} },
	"DeadMansSwitchCheckin":     func() ehevent.Event { return &DeadMansSwitchCheckin{} },
	"DeadMansSwitchDeleted":     func() ehevent.Event { return &DeadMansSwitchDeleted{} },
}

Functions

This section is empty.

Types

type AlertAcknowledged

type AlertAcknowledged struct {
	Id string
	// contains filtered or unexported fields
}

func NewAlertAcknowledged

func NewAlertAcknowledged(
	id string,
	meta ehevent.EventMeta,
) *AlertAcknowledged

func (*AlertAcknowledged) Meta

func (e *AlertAcknowledged) Meta() *ehevent.EventMeta

func (*AlertAcknowledged) MetaType

func (e *AlertAcknowledged) MetaType() string

type AlertRaised

type AlertRaised struct {
	Id      string
	Subject string
	Details string
	// contains filtered or unexported fields
}

func NewAlertRaised

func NewAlertRaised(
	id string,
	subject string,
	details string,
	meta ehevent.EventMeta,
) *AlertRaised

func (*AlertRaised) Meta

func (e *AlertRaised) Meta() *ehevent.EventMeta

func (*AlertRaised) MetaType

func (e *AlertRaised) MetaType() string

type DeadMansSwitchCheckin

type DeadMansSwitchCheckin struct {
	Subject string
	Ttl     time.Time
	// contains filtered or unexported fields
}

func NewDeadMansSwitchCheckin

func NewDeadMansSwitchCheckin(
	subject string,
	ttl time.Time,
	meta ehevent.EventMeta,
) *DeadMansSwitchCheckin

func (*DeadMansSwitchCheckin) Meta

func (*DeadMansSwitchCheckin) MetaType

func (e *DeadMansSwitchCheckin) MetaType() string

type DeadMansSwitchCreated

type DeadMansSwitchCreated struct {
	Subject string
	Ttl     time.Time
	// contains filtered or unexported fields
}

func NewDeadMansSwitchCreated

func NewDeadMansSwitchCreated(
	subject string,
	ttl time.Time,
	meta ehevent.EventMeta,
) *DeadMansSwitchCreated

func (*DeadMansSwitchCreated) Meta

func (*DeadMansSwitchCreated) MetaType

func (e *DeadMansSwitchCreated) MetaType() string

type DeadMansSwitchDeleted

type DeadMansSwitchDeleted struct {
	Subject string
	// contains filtered or unexported fields
}

func NewDeadMansSwitchDeleted

func NewDeadMansSwitchDeleted(
	subject string,
	meta ehevent.EventMeta,
) *DeadMansSwitchDeleted

func (*DeadMansSwitchDeleted) Meta

func (*DeadMansSwitchDeleted) MetaType

func (e *DeadMansSwitchDeleted) MetaType() string

type HttpMonitorCreated

type HttpMonitorCreated struct {
	Id      string
	Enabled bool
	Url     string
	Find    string
	// contains filtered or unexported fields
}

func NewHttpMonitorCreated

func NewHttpMonitorCreated(
	id string,
	enabled bool,
	url string,
	find string,
	meta ehevent.EventMeta,
) *HttpMonitorCreated

func (*HttpMonitorCreated) Meta

func (*HttpMonitorCreated) MetaType

func (e *HttpMonitorCreated) MetaType() string

type HttpMonitorDeleted

type HttpMonitorDeleted struct {
	Id string
	// contains filtered or unexported fields
}

func NewHttpMonitorDeleted

func NewHttpMonitorDeleted(
	id string,
	meta ehevent.EventMeta,
) *HttpMonitorDeleted

func (*HttpMonitorDeleted) Meta

func (*HttpMonitorDeleted) MetaType

func (e *HttpMonitorDeleted) MetaType() string

type HttpMonitorEnabledUpdated

type HttpMonitorEnabledUpdated struct {
	Id      string
	Enabled bool
	// contains filtered or unexported fields
}

func NewHttpMonitorEnabledUpdated

func NewHttpMonitorEnabledUpdated(
	id string,
	enabled bool,
	meta ehevent.EventMeta,
) *HttpMonitorEnabledUpdated

func (*HttpMonitorEnabledUpdated) Meta

func (*HttpMonitorEnabledUpdated) MetaType

func (e *HttpMonitorEnabledUpdated) MetaType() string

type UnnoticedAlertsNotified

type UnnoticedAlertsNotified struct {
	AlertIds []string
	// contains filtered or unexported fields
}

func NewUnnoticedAlertsNotified

func NewUnnoticedAlertsNotified(
	alertIds []string,
	meta ehevent.EventMeta,
) *UnnoticedAlertsNotified

func (*UnnoticedAlertsNotified) Meta

func (*UnnoticedAlertsNotified) MetaType

func (e *UnnoticedAlertsNotified) MetaType() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL