pingdom

package
v0.0.0-...-995ae56 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PingdomResolutionAnnotation               = "monitor.stakater.com/pingdom/resolution"
	PingdomSendNotificationWhenDownAnnotation = "monitor.stakater.com/pingdom/send-notification-when-down"
	PingdomPausedAnnotation                   = "monitor.stakater.com/pingdom/paused"
	PingdomNotifyWhenBackUpAnnotation         = "monitor.stakater.com/pingdom/notify-when-back-up"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PingdomMonitorService

type PingdomMonitorService struct {
	// contains filtered or unexported fields
}

PingdomMonitorService interfaces with MonitorService

func (*PingdomMonitorService) Add

func (service *PingdomMonitorService) Add(m models.Monitor)

func (*PingdomMonitorService) GetAll

func (service *PingdomMonitorService) GetAll() []models.Monitor

func (*PingdomMonitorService) GetByName

func (service *PingdomMonitorService) GetByName(name string) (*models.Monitor, error)

func (*PingdomMonitorService) Remove

func (service *PingdomMonitorService) Remove(m models.Monitor)

func (*PingdomMonitorService) Setup

func (service *PingdomMonitorService) Setup(p config.Provider)

func (*PingdomMonitorService) Update

func (service *PingdomMonitorService) Update(m models.Monitor)

Jump to

Keyboard shortcuts

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