impl

package
v1.0.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL