pingdom

package
v1.0.81 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PingdomResolutionAnnotation               = "pingdom.monitor.stakater.com/resolution"
	PingdomSendNotificationWhenDownAnnotation = "pingdom.monitor.stakater.com/send-notification-when-down"
	PingdomPausedAnnotation                   = "pingdom.monitor.stakater.com/paused"
	PingdomNotifyWhenBackUpAnnotation         = "pingdom.monitor.stakater.com/notify-when-back-up"
	PingdomRequestHeadersAnnotation           = "pingdom.monitor.stakater.com/request-headers"
	PingdomBasicAuthUser                      = "pingdom.monitor.stakater.com/basic-auth-user"
	PingdomShouldContainString                = "pingdom.monitor.stakater.com/should-contain"
	PingdomTags                               = "pingdom.monitor.stakater.com/tags"
	PingdomAlertIntegrations                  = "pingdom.monitor.stakater.com/alert-integrations"
)

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