Documentation ¶
Index ¶
- Constants
- type SlackHandler
- func (s SlackHandler) CreateEventHandler(createOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
- func (s SlackHandler) DeleteEventHandler(name string) error
- func (s SlackHandler) GetEventHandler(name string) (types.AlertEventHandler, error)
- func (s SlackHandler) ListEventHandlers() ([]types.AlertEventHandler, error)
- func (s SlackHandler) UpdateEventHandler(name string, updateOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
Constants ¶
View Source
const (
EventType = "slack"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackHandler ¶
type SlackHandler struct{}
func (SlackHandler) CreateEventHandler ¶
func (s SlackHandler) CreateEventHandler(createOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
func (SlackHandler) DeleteEventHandler ¶
func (s SlackHandler) DeleteEventHandler(name string) error
func (SlackHandler) GetEventHandler ¶
func (s SlackHandler) GetEventHandler(name string) (types.AlertEventHandler, error)
func (SlackHandler) ListEventHandlers ¶
func (s SlackHandler) ListEventHandlers() ([]types.AlertEventHandler, error)
func (SlackHandler) UpdateEventHandler ¶
func (s SlackHandler) UpdateEventHandler(name string, updateOpts types.AlertEventHandlerReq) (types.AlertEventHandler, error)
Click to show internal directories.
Click to hide internal directories.