controller

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 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