monitors

package
v2.1.58 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorService

type MonitorService interface {
	GetAll() []models.Monitor
	Add(m models.Monitor)
	Update(m models.Monitor)
	GetByName(name string) (*models.Monitor, error)
	Remove(m models.Monitor)
	Setup(p config.Provider)
	Equal(oldMonitor models.Monitor, newMonitor models.Monitor) bool
}

type MonitorServiceProxy

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

func CreateMonitorService

func CreateMonitorService(p *config.Provider) MonitorServiceProxy

func SetupMonitorServicesForProviders

func SetupMonitorServicesForProviders(providers []config.Provider) []MonitorServiceProxy

func SetupMonitorServicesForProvidersTest

func SetupMonitorServicesForProvidersTest(providers []config.Provider) []MonitorServiceProxy

func (*MonitorServiceProxy) Add

func (mp *MonitorServiceProxy) Add(m models.Monitor)

func (*MonitorServiceProxy) Equal

func (mp *MonitorServiceProxy) Equal(oldMonitor models.Monitor, newMonitor models.Monitor) bool

func (*MonitorServiceProxy) ExtractConfig

func (mp *MonitorServiceProxy) ExtractConfig(spec endpointmonitorv1alpha1.EndpointMonitorSpec) interface{}

func (*MonitorServiceProxy) GetAll

func (mp *MonitorServiceProxy) GetAll() []models.Monitor

func (*MonitorServiceProxy) GetByName

func (mp *MonitorServiceProxy) GetByName(name string) (*models.Monitor, error)

func (*MonitorServiceProxy) GetType

func (mp *MonitorServiceProxy) GetType() string

func (*MonitorServiceProxy) OfType

func (*MonitorServiceProxy) Remove

func (mp *MonitorServiceProxy) Remove(m models.Monitor)

func (*MonitorServiceProxy) Setup

func (mp *MonitorServiceProxy) Setup(p config.Provider)

func (*MonitorServiceProxy) Update

func (mp *MonitorServiceProxy) Update(m models.Monitor)

Directories

Path Synopsis
Package AppInsightsMonitor adds Azure AppInsights webtest support in IngressMonitorController
Package AppInsightsMonitor adds Azure AppInsights webtest support in IngressMonitorController
Package UpdownMonitor adds updown website monitoring tool's support in IngressMonitorController
Package UpdownMonitor adds updown website monitoring tool's support in IngressMonitorController

Jump to

Keyboard shortcuts

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