Documentation
¶
Index ¶
- type ChannelHandler
- type CreateChannelHandler
- type CreateChannelRequest
- type CreateChannelResponse
- type CreateRuleHandler
- type CreateRuleRequest
- type CreateRuleResponse
- type DeleteChannelHandler
- type DeleteChannelRequest
- type DeleteChannelResponse
- type DeleteRuleHandler
- type DeleteRuleRequest
- type DeleteRuleResponse
- type EventHandler
- type GetChannelHandler
- type GetChannelRequest
- type GetChannelResponse
- type GetEventHandler
- type GetEventRequest
- type GetEventResponse
- type GetRuleHandler
- type GetRuleRequest
- type GetRuleResponse
- type Handler
- type ListChannelsHandler
- type ListChannelsParams
- type ListChannelsRequest
- type ListChannelsResponse
- type ListEventsHandler
- type ListEventsParams
- type ListEventsRequest
- type ListEventsResponse
- type ListRulesHandler
- type ListRulesParams
- type ListRulesRequest
- type ListRulesResponse
- type RuleHandler
- type TestRuleHandler
- type TestRuleRequest
- type TestRuleResponse
- type UpdateChannelHandler
- type UpdateChannelRequest
- type UpdateChannelResponse
- type UpdateRuleHandler
- type UpdateRuleRequest
- type UpdateRuleResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelHandler ¶
type ChannelHandler interface { ListChannels() ListChannelsHandler CreateChannel() CreateChannelHandler DeleteChannel() DeleteChannelHandler GetChannel() GetChannelHandler UpdateChannel() UpdateChannelHandler }
type CreateChannelHandler ¶
type CreateChannelHandler httptransport.Handler[CreateChannelRequest, CreateChannelResponse]
type CreateChannelRequest ¶
type CreateChannelRequest = notification.CreateChannelInput
type CreateChannelResponse ¶
type CreateChannelResponse = api.NotificationChannel
type CreateRuleHandler ¶
type CreateRuleHandler httptransport.Handler[CreateRuleRequest, CreateRuleResponse]
type CreateRuleRequest ¶
type CreateRuleRequest = notification.CreateRuleInput
type CreateRuleResponse ¶
type CreateRuleResponse = api.NotificationRule
type DeleteChannelHandler ¶
type DeleteChannelHandler httptransport.HandlerWithArgs[DeleteChannelRequest, DeleteChannelResponse, api.ChannelId]
type DeleteChannelRequest ¶
type DeleteChannelRequest = notification.DeleteChannelInput
type DeleteChannelResponse ¶
type DeleteChannelResponse = interface{}
type DeleteRuleHandler ¶
type DeleteRuleHandler httptransport.HandlerWithArgs[DeleteRuleRequest, DeleteRuleResponse, api.RuleId]
type DeleteRuleRequest ¶
type DeleteRuleRequest = notification.DeleteRuleInput
type DeleteRuleResponse ¶
type DeleteRuleResponse = interface{}
type EventHandler ¶
type EventHandler interface { ListEvents() ListEventsHandler GetEvent() GetEventHandler }
type GetChannelHandler ¶
type GetChannelHandler httptransport.HandlerWithArgs[GetChannelRequest, GetChannelResponse, api.ChannelId]
type GetChannelRequest ¶
type GetChannelRequest = notification.GetChannelInput
type GetChannelResponse ¶
type GetChannelResponse = api.NotificationChannel
type GetEventHandler ¶
type GetEventHandler httptransport.HandlerWithArgs[GetEventRequest, GetEventResponse, api.EventId]
type GetEventRequest ¶
type GetEventRequest = notification.GetEventInput
type GetEventResponse ¶
type GetEventResponse = api.NotificationEvent
type GetRuleHandler ¶
type GetRuleHandler httptransport.HandlerWithArgs[GetRuleRequest, GetRuleResponse, api.RuleId]
type GetRuleRequest ¶
type GetRuleRequest = notification.GetRuleInput
type GetRuleResponse ¶
type GetRuleResponse = api.NotificationRule
type Handler ¶
type Handler interface { ChannelHandler RuleHandler EventHandler }
func New ¶
func New( namespaceDecoder namespacedriver.NamespaceDecoder, service notification.Service, options ...httptransport.HandlerOption, ) Handler
type ListChannelsHandler ¶
type ListChannelsHandler httptransport.HandlerWithArgs[ListChannelsRequest, ListChannelsResponse, ListChannelsParams]
type ListChannelsParams ¶
type ListChannelsParams = api.ListNotificationChannelsParams
type ListChannelsRequest ¶
type ListChannelsRequest = notification.ListChannelsInput
type ListChannelsResponse ¶
type ListChannelsResponse = api.NotificationChannelsResponse
type ListEventsHandler ¶
type ListEventsHandler httptransport.HandlerWithArgs[ListEventsRequest, ListEventsResponse, ListEventsParams]
type ListEventsParams ¶
type ListEventsParams = api.ListNotificationEventsParams
type ListEventsRequest ¶
type ListEventsRequest = notification.ListEventsInput
type ListEventsResponse ¶
type ListEventsResponse = api.NotificationEventsResponse
type ListRulesHandler ¶
type ListRulesHandler httptransport.HandlerWithArgs[ListRulesRequest, ListRulesResponse, ListRulesParams]
type ListRulesParams ¶
type ListRulesParams = api.ListNotificationRulesParams
type ListRulesRequest ¶
type ListRulesRequest = notification.ListRulesInput
type ListRulesResponse ¶
type ListRulesResponse = api.NotificationRulesResponse
type RuleHandler ¶
type RuleHandler interface { ListRules() ListRulesHandler CreateRule() CreateRuleHandler DeleteRule() DeleteRuleHandler GetRule() GetRuleHandler UpdateRule() UpdateRuleHandler TestRule() TestRuleHandler }
type TestRuleHandler ¶
type TestRuleHandler httptransport.HandlerWithArgs[TestRuleRequest, TestRuleResponse, api.RuleId]
type TestRuleRequest ¶
type TestRuleRequest struct { models.NamespacedModel // RuleID defines the notification Rule that generated this Event. RuleID string `json:"ruleId"` }
type TestRuleResponse ¶
type TestRuleResponse = api.NotificationEvent
type UpdateChannelHandler ¶
type UpdateChannelHandler httptransport.HandlerWithArgs[UpdateChannelRequest, UpdateChannelResponse, api.ChannelId]
type UpdateChannelRequest ¶
type UpdateChannelRequest = notification.UpdateChannelInput
type UpdateChannelResponse ¶
type UpdateChannelResponse = api.NotificationChannel
type UpdateRuleHandler ¶
type UpdateRuleHandler httptransport.HandlerWithArgs[UpdateRuleRequest, UpdateRuleResponse, api.RuleId]
type UpdateRuleRequest ¶
type UpdateRuleRequest = notification.UpdateRuleInput
type UpdateRuleResponse ¶
type UpdateRuleResponse = api.NotificationRule
Click to show internal directories.
Click to hide internal directories.