Documentation
¶
Index ¶
- func Register(registry catalog.BuiltInPluginRegistry)
- type Plugin
- func (p *Plugin) Configure(_ context.Context, _ *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *Plugin) SendNotification(_ context.Context, _ *notificationv1.SendNotificationRequest) (*notificationv1.SendNotificationResponse, error)
- func (p *Plugin) SetLogger(logger hclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registry catalog.BuiltInPluginRegistry)
Types ¶
type Plugin ¶
type Plugin struct {
notificationv1.UnsafeNotificationServiceServer
configv1.UnsafeConfigServer
// contains filtered or unexported fields
}
func (*Plugin) Configure ¶
func (p *Plugin) Configure( _ context.Context, _ *configv1.ConfigureRequest, ) (*configv1.ConfigureResponse, error)
func (*Plugin) SendNotification ¶
func (p *Plugin) SendNotification( _ context.Context, _ *notificationv1.SendNotificationRequest, ) (*notificationv1.SendNotificationResponse, error)
Click to show internal directories.
Click to hide internal directories.