network

package
v0.0.0-...-f2d3d7a Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultExecRoot = "/var/run/pouch"

DefaultExecRoot defines the default network execute root directory.

Functions

This section is empty.

Types

type BridgeConfig

type BridgeConfig struct {
	Name        string
	IP          string
	FixedCIDR   string
	GatewayIPv4 string
	PreferredIP string

	Mtu               int
	ICC               bool
	IPTables          bool
	IPForward         bool
	IPMasq            bool
	UserlandProxy     bool
	UserlandProxyPath string
}

BridgeConfig defines the bridge network configuration.

type Config

type Config struct {
	Type string

	MetaPath   string // meta store
	ExecRoot   string // exec root
	DNS        []string
	DNSOptions []string
	DNSSearch  []string

	// bridge config
	BridgeConfig BridgeConfig

	ActiveSandboxes map[string]interface{}
}

Config defines the network configuration.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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