network

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdLineOpts added in v0.6.0

type CmdLineOpts struct {
	// contains filtered or unexported fields
}

type Manager added in v0.6.0

type Manager struct {
	// contains filtered or unexported fields
}

func NewNetworkManager added in v0.6.0

func NewNetworkManager(ctx context.Context, sm subnet.Manager) (*Manager, error)

func (*Manager) Run added in v0.6.0

func (m *Manager) Run(ctx context.Context)

type Network

type Network struct {
	Name   string
	Config *subnet.Config
	// contains filtered or unexported fields
}

func NewNetwork added in v0.6.0

func NewNetwork(ctx context.Context, sm subnet.Manager, bm backend.Manager, name string, ipMasq bool) *Network

func (*Network) Cancel added in v0.6.0

func (n *Network) Cancel()

func (*Network) Run

func (n *Network) Run(extIface *backend.ExternalInterface, inited func(bn backend.Network))

Jump to

Keyboard shortcuts

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