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

overlay

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 28 Imported by: 2

Documentation

Index

Constants

View Source
const (
	BridgeName            = "br0"
	VxLANInNSName         = "vxlan0"
	VxLANInHostPrefix     = "vxlan-"
	NetlinkSocketsTimeout = 3 * time.Second
)
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(ctx context.Context, manager netmanager.NetManager, network types.Network) (chan struct{}, error)
	Remove(ctx context.Context, network types.Network) error
}

func NewNetworkEndpointListener

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

type Registrar added in v0.8.0

type Registrar interface {
	Register(ctx context.Context, prefix string) (store.Registration, error)
}

Directories

Path Synopsis
Package overlaymock is a generated GoMock package.
Package overlaymock is a generated GoMock package.

Jump to

Keyboard shortcuts

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