initializer

package
v0.0.0-...-0599406 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ConnectorName = "init"

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginConnector

type PluginConnector struct {
	plugin.Plugin
}

func (*PluginConnector) GRPCClient

func (p *PluginConnector) GRPCClient(ctx context.Context, b *plugin.GRPCBroker, cc *grpc.ClientConn) (interface{}, error)

func (*PluginConnector) GRPCServer

func (p *PluginConnector) GRPCServer(b *plugin.GRPCBroker, s *grpc.Server) error

type PluginGateway

type PluginGateway struct {
	// contains filtered or unexported fields
}

func (*PluginGateway) Init

func (g *PluginGateway) Init(ctx context.Context, nodeIdentity string, rawConfiguration []byte) error

type PluginInitializer

type PluginInitializer interface {
	Init(ctx context.Context, nodeIdentity string, rawConfiguration []byte) error
}

Jump to

Keyboard shortcuts

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