ccip

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterExecutionLOOPServer

func RegisterExecutionLOOPServer(s *grpc.Server, b net.Broker, cfg net.BrokerConfig, impl types.CCIPExecutionFactoryGenerator) error

Types

type ExecutionLOOPClient

type ExecutionLOOPClient struct {
	// hashicorp plugin client
	*goplugin.PluginClient
	// client to base service
	*goplugin.ServiceClient
	// contains filtered or unexported fields
}

ExecutionLOOPClient is a client is run on the core node to connect to the execution LOOP server.

func NewExecutionLOOPClient

func NewExecutionLOOPClient(broker net.Broker, brokerCfg net.BrokerConfig, conn *grpc.ClientConn) *ExecutionLOOPClient

func (*ExecutionLOOPClient) NewExecutionFactory

NewExecutionFactory creates a new reporting plugin factory client. In practice this client is called by the core node. The reporting plugin factory client is a client to the LOOP server, which is run as an external process via hashicorp plugin. If the given provider is a GRPCClientConn, then the provider is proxied to the to the relayer, which is its own process via hashicorp plugin. If the provider is not a GRPCClientConn, then the provider is a local to the core node. The core must wrap the provider in a grpc server and serve it locally.

type ExecutionLOOPServer

type ExecutionLOOPServer struct {
	ccippb.UnimplementedExecutionFactoryGeneratorServer

	*net.BrokerExt
	// contains filtered or unexported fields
}

ExecutionLOOPServer is a server that runs the execution LOOP.

func (*ExecutionLOOPServer) NewExecutionFactory

Jump to

Keyboard shortcuts

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