Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginClient ¶
type PluginClient interface { proto.PluginClient }
PluginClient is the client API for the Resource service.
type PluginGRPC ¶
type PluginGRPC struct { // GRPCPlugin must still implement the Plugin interface plugin.NetRPCUnsupportedPlugin plugin.GRPCPlugin // Concrete implementation, written in Go. This is only used for plugins // that are written in Go. Impl PluginServer }
This is the implementation of plugin.GRPCPlugin so we can serve/consume this.
func (*PluginGRPC) GRPCClient ¶
func (p *PluginGRPC) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
func (*PluginGRPC) GRPCServer ¶
func (p *PluginGRPC) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
type PluginServer ¶
type PluginServer interface { proto.PluginServer }
PluginServer is the server API for the Resource service.
Click to show internal directories.
Click to hide internal directories.