Documentation ¶
Index ¶
- func Formatter(apiContext *types.APIContext, resource *types.RawResource)
- func NotifierCollectionFormatter(apiContext *types.APIContext, collection *types.GenericCollection)
- func NotifierFormatter(apiContext *types.APIContext, resource *types.RawResource)
- type Handler
- func (h *Handler) ClusterActionHandler(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) ProjectActionHandler(actionName string, action *types.Action, request *types.APIContext) error
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 (*Handler) NotifierActionHandler ¶
func (*Handler) ProjectActionHandler ¶
Click to show internal directories.
Click to hide internal directories.