monitors

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Healthy   string = "healthy"
	Unhealthy string = "unhealthy"
	Unknown   string = "unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesResourceMonitor

type KubernetesResourceMonitor interface {
	GetName() string
	GetWatchPoints() []WatchPoint
	Start() error
	Dispose()
}

type KubernetesSystemComponentMonitor

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

func (*KubernetesSystemComponentMonitor) Dispose

func (m *KubernetesSystemComponentMonitor) Dispose()

func (*KubernetesSystemComponentMonitor) GetName

func (*KubernetesSystemComponentMonitor) GetWatchPoints

func (m *KubernetesSystemComponentMonitor) GetWatchPoints() []WatchPoint

func (*KubernetesSystemComponentMonitor) Start

type WatchPoint

type WatchPoint struct {
	IsSystemComponent bool      `json:"is_system_component"`
	Name              string    `json:"name"`
	Status            string    `json:"status"`
	LastCheckTime     time.Time `json:"last_check_time"`
}

Jump to

Keyboard shortcuts

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