alert

package
v2.0.8-rc2+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Formatter

func Formatter(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)

Types

type Handler

type Handler struct {
	ClusterAlerts v3.ClusterAlertInterface
	ProjectAlerts v3.ProjectAlertInterface
	Notifiers     v3.NotifierInterface
}

func (*Handler) ClusterActionHandler

func (h *Handler) ClusterActionHandler(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) ProjectActionHandler

func (h *Handler) ProjectActionHandler(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