mnet

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() error

Types

type LocalNodeInterface

type LocalNodeInterface interface {
	Connection() connection.Interface
	Router() router.Interface
	AddNetworkEndpoint(endpointID, dnsName, reqIPv4 string) (string, error)
	RemoveNetworkEndpoint(endpointID string) error
	GetNodeLSA() *routing.LSA
	NodeReq() *topology.NodeReq
	Node() *topology.Node
	NewCfg(ncfg *topology.NodeCfg) error
	DNSPort() int
	IsK8sGwEnabled() bool
	Close()
}

func LocalNode

func LocalNode() LocalNodeInterface

Directories

Path Synopsis
p2p
rib

Jump to

Keyboard shortcuts

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