Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handshake = plugin.HandshakeConfig{
ProtocolVersion: 0,
MagicCookieKey: "FLEETING_INSTANCE_GROUP_PLUGIN",
MagicCookieValue: "4c6410b1-cb78-4962-8c76-ab936d0ea908",
}
Functions ¶
func Serve ¶
func Serve(impl provider.InstanceGroup)
Types ¶
type GRPCInstanceGroupPlugin ¶
type GRPCInstanceGroupPlugin struct { plugin.NetRPCUnsupportedPlugin Impl provider.InstanceGroup Logger hclog.Logger Config []byte }
func (*GRPCInstanceGroupPlugin) GRPCClient ¶
func (b *GRPCInstanceGroupPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
func (GRPCInstanceGroupPlugin) GRPCServer ¶
func (b GRPCInstanceGroupPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
Click to show internal directories.
Click to hide internal directories.