Documentation ¶
Index ¶
- Constants
- type PingdomMonitorService
- func (service *PingdomMonitorService) Add(m models.Monitor)
- func (service *PingdomMonitorService) GetAll() []models.Monitor
- func (service *PingdomMonitorService) GetByName(name string) (*models.Monitor, error)
- func (service *PingdomMonitorService) Remove(m models.Monitor)
- func (service *PingdomMonitorService) Setup(p config.Provider)
- func (service *PingdomMonitorService) Update(m models.Monitor)
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)
Click to show internal directories.
Click to hide internal directories.