alertmanager

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2016 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TPRGroup   = "monitoring.coreos.com"
	TPRVersion = "v1alpha1"

	TPRAlertmanagersKind = "alertmanagers"
)

Variables

This section is empty.

Functions

func NewAlertmanagerListWatch

func NewAlertmanagerListWatch(client *rest.RESTClient) *cache.ListWatch

NewAlertmanagerListWatch returns a new ListWatch on the Alertmanager resource.

Types

type Operator

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

Operator manages lify cycle of Alertmanager deployments and monitoring configurations.

func New

func New(c prometheus.Config, logger log.Logger) (*Operator, error)

New creates a new controller.

func (*Operator) Run

func (c *Operator) Run(stopc <-chan struct{}) error

Run the controller.

Jump to

Keyboard shortcuts

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