Documentation ¶
Overview ¶
Provides interfaces and adapters for the Notifier service
Generated code. Do not modify by hand.
Index ¶
- Constants
- Variables
- func PluginServer(server NotifierServer) catalog.PluginServer
- type BundleLoaded
- type BundleUpdated
- type Notifier
- type NotifierClient
- type NotifierServer
- type NotifyAndAdviseRequest
- type NotifyAndAdviseRequest_BundleLoaded
- type NotifyAndAdviseResponse
- type NotifyRequest
- type NotifyRequest_BundleUpdated
- type NotifyResponse
- type Plugin
- type UnimplementedNotifierServer
Constants ¶
View Source
const (
Type = "Notifier"
)
Variables ¶
View Source
var PluginClient catalog.PluginClient = pluginClient{}
PluginClient is a catalog PluginClient implementation for the Notifier plugin.
Functions ¶
func PluginServer ¶
func PluginServer(server NotifierServer) catalog.PluginServer
PluginServer returns a catalog PluginServer implementation for the Notifier plugin.
Types ¶
type BundleLoaded ¶
type BundleLoaded = notifier.BundleLoaded //nolint: golint
type BundleUpdated ¶
type BundleUpdated = notifier.BundleUpdated //nolint: golint
type Notifier ¶
type Notifier interface { Notify(context.Context, *NotifyRequest) (*NotifyResponse, error) NotifyAndAdvise(context.Context, *NotifyAndAdviseRequest) (*NotifyAndAdviseResponse, error) }
Notifier is the client interface for the service type Notifier interface.
func AdaptPluginClient ¶
func AdaptPluginClient(client NotifierClient) Notifier
type NotifierClient ¶
type NotifierClient = notifier.NotifierClient //nolint: golint
type NotifierServer ¶
type NotifierServer = notifier.NotifierServer //nolint: golint
type NotifyAndAdviseRequest ¶
type NotifyAndAdviseRequest = notifier.NotifyAndAdviseRequest //nolint: golint
type NotifyAndAdviseRequest_BundleLoaded ¶
type NotifyAndAdviseRequest_BundleLoaded = notifier.NotifyAndAdviseRequest_BundleLoaded //nolint: golint
type NotifyAndAdviseResponse ¶
type NotifyAndAdviseResponse = notifier.NotifyAndAdviseResponse //nolint: golint
type NotifyRequest ¶
type NotifyRequest = notifier.NotifyRequest //nolint: golint
type NotifyRequest_BundleUpdated ¶
type NotifyRequest_BundleUpdated = notifier.NotifyRequest_BundleUpdated //nolint: golint
type NotifyResponse ¶
type NotifyResponse = notifier.NotifyResponse //nolint: golint
type Plugin ¶
type Plugin interface { Configure(context.Context, *spi.ConfigureRequest) (*spi.ConfigureResponse, error) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error) Notify(context.Context, *NotifyRequest) (*NotifyResponse, error) NotifyAndAdvise(context.Context, *NotifyAndAdviseRequest) (*NotifyAndAdviseResponse, error) }
Plugin is the client interface for the service with the plugin related methods used by the catalog to initialize the plugin.
type UnimplementedNotifierServer ¶
type UnimplementedNotifierServer = notifier.UnimplementedNotifierServer //nolint: golint
Click to show internal directories.
Click to hide internal directories.