kernelforwarder

package
v0.0.0-...-53791e0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearInterfaceSetup

func ClearInterfaceSetup(ifaceName string, conn *connection.Connection) (string, error)

ClearInterfaceSetup - deletes interface setup

func SetupInterface

func SetupInterface(ifaceName string, conn *connection.Connection, isDst bool) (string, error)

SetupInterface - setup interface to namespace

Types

type KernelForwarder

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

KernelForwarder instance

func CreateKernelForwarder

func CreateKernelForwarder() *KernelForwarder

CreateKernelForwarder creates an instance of the KernelForwarder

func (*KernelForwarder) Close

func (k *KernelForwarder) Close(ctx context.Context, crossConnect *crossconnect.CrossConnect) (*empty.Empty, error)

Close handler for connections

func (*KernelForwarder) CreateForwarderServer

func (k *KernelForwarder) CreateForwarderServer(config *common.ForwarderConfig) forwarder.ForwarderServer

CreateForwarderServer creates an instance of ForwarderServer

func (*KernelForwarder) Init

func (k *KernelForwarder) Init(common *common.ForwarderConfig) error

Init initializes the Kernel forwarding plane

func (*KernelForwarder) MonitorMechanisms

func (k *KernelForwarder) MonitorMechanisms(empty *empty.Empty, updateSrv forwarder.MechanismsMonitor_MonitorMechanismsServer) error

MonitorMechanisms handler

func (*KernelForwarder) Request

Request handler for connections

Directories

Path Synopsis
Package local - controlling local mechanisms interfaces
Package local - controlling local mechanisms interfaces
Package remote - controlling remote mechanisms interfaces
Package remote - controlling remote mechanisms interfaces

Jump to

Keyboard shortcuts

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