Help us shape the future of Go! Take the 2026 Go Developer Survey

overlay

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 30 Imported by: 2

Documentation

Index

Constants

View Source
const (
	BridgeName        = "br0"
	VxLANInNSName     = "vxlan0"
	VxLANInHostPrefix = "vxlan-"
)
View Source
const (
	IDManagerName         = "vni"
	VxLANField            = "vxlan_vni"
	StoreCollectionPrefix = "/network/"
)

Variables

This section is empty.

Functions

func NewManager

func NewManager(c *config.Config, listener NetworkEndpointListener) manager

func NewVNIGenerator

func NewVNIGenerator(ctx context.Context, config *config.Config, store store.Store) idmanager.Manager

Types

type NetworkEndpointListener

type NetworkEndpointListener interface {
	Add(context.Context, netmanager.NetManager, types.Network) (chan struct{}, error)
	Remove(context.Context, types.Network) error
}

func NewNetworkEndpointListener

func NewNetworkEndpointListener(ctx context.Context, config *config.Config, store store.Store) NetworkEndpointListener

Jump to

Keyboard shortcuts

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