Versions in this module Expand all Collapse all v0 v0.7.1 Jul 25, 2023 v0.7.0 Jul 20, 2023 Changes in this version + const BackoffDuration + const PluginGRPCMaxRetry + var Handshake = hplugin.HandshakeConfig + func Serve(t oplugin.DependencyResolverMod, logger hclog.Logger) + type Connector struct + func NewPlugin(impl oplugin.DependencyResolverMod, logger hclog.Logger) *Connector + func NewPluginClient(logger hclog.Logger) *Connector + func (p *Connector) GRPCClient(_ context.Context, _ *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *Connector) GRPCServer(_ *plugin.GRPCBroker, s *grpc.Server) error + type GRPCClient struct + func (m *GRPCClient) CompileAssets(ctx context.Context, request plugin.CompileAssetsRequest) (*plugin.CompileAssetsResponse, error) + func (m *GRPCClient) GenerateDependencies(ctx context.Context, request plugin.GenerateDependenciesRequest) (*plugin.GenerateDependenciesResponse, error) + func (m *GRPCClient) GenerateDestination(ctx context.Context, request plugin.GenerateDestinationRequest) (*plugin.GenerateDestinationResponse, error) + func (m *GRPCClient) GetName(ctx context.Context) (string, error) + type GRPCServer struct + Impl plugin.DependencyResolverMod + func (s *GRPCServer) CompileAssets(ctx context.Context, req *pbp.CompileAssetsRequest) (*pbp.CompileAssetsResponse, error) + func (s *GRPCServer) GenerateDependencies(ctx context.Context, req *pbp.GenerateDependenciesRequest) (*pbp.GenerateDependenciesResponse, error) + func (s *GRPCServer) GenerateDestination(ctx context.Context, req *pbp.GenerateDestinationRequest) (*pbp.GenerateDestinationResponse, error) + func (s *GRPCServer) GetName(ctx context.Context, _ *pbp.GetNameRequest) (*pbp.GetNameResponse, error)