Documentation
¶
Overview ¶
Package impl contains internal GPRC implementation types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleGRPCPlugin ¶
type BundleGRPCPlugin struct {
plugin.NetRPCUnsupportedPlugin
Factory func() bundlev1.BundleProvider
}
BundleGRPCPlugin is an implementation of the github.com/hashicorp/go-plugin#Plugin and github.com/hashicorp/go-plugin#GRPCPlugin interfaces, indicating how to serve bundlev1.BundleProvider as gRPC plugins for go-plugin.
func (*BundleGRPCPlugin) GRPCClient ¶
func (p *BundleGRPCPlugin) GRPCClient( ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn, ) (interface{}, error)
GRPCClient implements plugin.GRPCPlugin.
func (*BundleGRPCPlugin) GRPCServer ¶
func (p *BundleGRPCPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
Click to show internal directories.
Click to hide internal directories.