controller

package
v0.0.0-...-a3a5c94 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT 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