watcher

package
v0.0.0-...-92a250d Latest Latest
Warning

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

Go to latest
Published: May 12, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MissWatcher

type MissWatcher interface {
	StartMonitor(ns namespace.Namespace, vxlanLinkName string) error
	StopMonitor(ns namespace.Namespace) error
}

func New

func New(logger lager.Logger, subscriber sub, locker sync.Locker, resolver resolver, arpInserter arpInserter) MissWatcher

type NamespaceWatcher

type NamespaceWatcher struct {
	MissWatcher MissWatcher
	Namespace   namespace.Namespace
	DeviceName  string
}

func (*NamespaceWatcher) Run

func (nw *NamespaceWatcher) Run(signals <-chan os.Signal, ready chan<- struct{}) error

type Neigh

type Neigh struct {
	LinkIndex    int
	Family       int
	State        int
	Type         int
	Flags        int
	IP           net.IP
	HardwareAddr net.HardwareAddr
}

type Neighbor

type Neighbor struct {
	SandboxName string
	VTEP        net.IP
	Neigh       Neigh
}

type Resolver

type Resolver struct {
	Logger lager.Logger
	Store  store.Store
}

func (*Resolver) ResolveMisses

func (d *Resolver) ResolveMisses(misses <-chan Neighbor, knownNeighbors chan<- Neighbor)

Jump to

Keyboard shortcuts

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