controller

package
v5.1.3-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2019 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuleControllerManager

type RuleControllerManager struct {
	Rules   *prometheus.AlertingRulesManager
	Manager *prometheus.Manager
}

RuleControllerManager controller manager

func NewControllerManager

NewControllerManager new controller manager

func (*RuleControllerManager) AddRules

AddRules add rule

func (*RuleControllerManager) DelRules

DelRules del rules

func (*RuleControllerManager) GetAllRules

func (c *RuleControllerManager) GetAllRules(w http.ResponseWriter, r *http.Request)

GetAllRules get all rules

func (*RuleControllerManager) GetRules

GetRules get rules

func (*RuleControllerManager) RegRules

RegRules reg rules

Jump to

Keyboard shortcuts

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