overlay

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 29 Imported by: 0

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, r Registrar, s store.Store) NetworkEndpointListener

type Registrar added in v0.8.0

type Registrar interface {
	Register(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