network

package
v0.0.0-...-b9fd9d2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 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

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

type Manager

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

func NewNetworkManager

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

func (*Manager) Run

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

type Network

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

func NewNetwork

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

func NewNetworkV2

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

func (*Network) Cancel

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