alertmanager

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertmanagerStatus added in v0.3.0

func ListOptions added in v0.3.0

func ListOptions(name string) metav1.ListOptions

func NewAlertmanagerCollector added in v0.10.0

func NewAlertmanagerCollector(s cache.Store) *alertmanagerCollector

Types

type Config added in v0.5.0

type Config struct {
	Host                         string
	LocalHost                    string
	ConfigReloaderImage          string
	AlertmanagerDefaultBaseImage string
	Namespace                    string
	Labels                       prometheusoperator.Labels
	CrdKinds                     monitoringv1.CrdKinds
	CrdGroup                     string
	EnableValidation             bool
	DisableAutoUserGroup         bool
	ManageCRDs                   bool
}

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 prometheusoperator.Config, logger log.Logger) (*Operator, error)

New creates a new controller.

func (*Operator) RegisterMetrics added in v0.10.0

func (c *Operator) RegisterMetrics(r prometheus.Registerer)

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