Documentation ¶
Index ¶
- func NewFromGRPCConn(l L.L, id apiplugin.PluginID, conn *grpc.ClientConn) (plugin.Plugin, error)
- func NewFromHostPort(l L.L, id apiplugin.PluginID, hostPort string) (plugin.Plugin, error)
- type GRPCPlugin
- func (p *GRPCPlugin) Call(ctx context.Context, v *apivalues.Value, args []*apivalues.Value, ...) (*apivalues.Value, error)
- func (p *GRPCPlugin) Describe(ctx context.Context) (*apiplugin.PluginDesc, error)
- func (p *GRPCPlugin) Get(ctx context.Context, name string) (*apivalues.Value, error)
- func (p *GRPCPlugin) GetAll(ctx context.Context) (map[string]*apivalues.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromGRPCConn ¶
Types ¶
type GRPCPlugin ¶
func (*GRPCPlugin) Describe ¶
func (p *GRPCPlugin) Describe(ctx context.Context) (*apiplugin.PluginDesc, error)
Click to show internal directories.
Click to hide internal directories.