alert

package
v2.2.0-rc9+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterAlertRuleValidator

func ClusterAlertRuleValidator(resquest *types.APIContext, schema *types.Schema, data map[string]interface{}) error

func GroupFormatter

func GroupFormatter(apiContext *types.APIContext, resource *types.RawResource)

func NotifierCollectionFormatter

func NotifierCollectionFormatter(apiContext *types.APIContext, collection *types.GenericCollection)

func NotifierFormatter

func NotifierFormatter(apiContext *types.APIContext, resource *types.RawResource)

func ProjectAlertRuleValidator

func ProjectAlertRuleValidator(resquest *types.APIContext, schema *types.Schema, data map[string]interface{}) error

func RuleFormatter

func RuleFormatter(apiContext *types.APIContext, resource *types.RawResource)

Types

type Handler

type Handler struct {
	ClusterAlertRule v3.ClusterAlertRuleInterface
	ProjectAlertRule v3.ProjectAlertRuleInterface
	Notifiers        v3.NotifierInterface
}

func (*Handler) ClusterAlertRuleActionHandler

func (h *Handler) ClusterAlertRuleActionHandler(actionName string, action *types.Action, request *types.APIContext) error

func (*Handler) NotifierActionHandler

func (h *Handler) NotifierActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error

func (*Handler) ProjectAlertRuleActionHandler

func (h *Handler) ProjectAlertRuleActionHandler(actionName string, action *types.Action, request *types.APIContext) error

Jump to

Keyboard shortcuts

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