Documentation ¶
Index ¶
- func ClusterAlertRuleValidator(resquest *types.APIContext, schema *types.Schema, data map[string]interface{}) error
- func GroupFormatter(apiContext *types.APIContext, resource *types.RawResource)
- func NotifierCollectionFormatter(apiContext *types.APIContext, collection *types.GenericCollection)
- func NotifierFormatter(apiContext *types.APIContext, resource *types.RawResource)
- func ProjectAlertRuleValidator(resquest *types.APIContext, schema *types.Schema, data map[string]interface{}) error
- func RuleFormatter(apiContext *types.APIContext, resource *types.RawResource)
- type Handler
- func (h *Handler) ClusterAlertRuleActionHandler(actionName string, action *types.Action, request *types.APIContext) error
- func (h *Handler) NotifierActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (h *Handler) ProjectAlertRuleActionHandler(actionName string, action *types.Action, request *types.APIContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 (*Handler) NotifierActionHandler ¶
func (*Handler) ProjectAlertRuleActionHandler ¶
Click to show internal directories.
Click to hide internal directories.