Versions in this module Expand all Collapse all v0 v0.2.0 Feb 28, 2023 v0.1.0 Feb 22, 2023 Changes in this version + var PluginHandshake = hcplugin.HandshakeConfig + func InitPlugins(ctx context.Context, commands, grpcAddresses []string, ...) (template.FuncMap, error) + func NewGrpcServer(p Plugin) pluginv1.PluginServiceServer + type InitPluginsOptions struct + ExecTimeout time.Duration + FunctionsTimeout time.Duration + type Plugin interface + ExecuteFunction func(ctx context.Context, name string, args []any) (any, error) + ListFunctions func(ctx context.Context) ([]string, error) + type PluginServer struct + GotmplPlugin Plugin + func (p *PluginServer) GRPCClient(_ context.Context, _ *hcplugin.GRPCBroker, c *grpc.ClientConn) (any, error) + func (p *PluginServer) GRPCServer(_ *hcplugin.GRPCBroker, s *grpc.Server) error