Versions in this module Expand all Collapse all v0 v0.1.0 Jul 8, 2015 Changes in this version + var ErrNotImplemented = errors.New("not implemented") — darwin/amd64, js/wasm + func GC() + func GenerateKey(containerID string) string + type IfaceOption func() — windows/amd64 + type IfaceOption func(i *nwIface) — linux/amd64 + type IfaceOptionSetter interface + Address func(*net.IPNet) IfaceOption + AddressIPv6 func(*net.IPNet) IfaceOption + Bridge func(bool) IfaceOption + Master func(string) IfaceOption + Routes func([]*net.IPNet) IfaceOption + type Info interface + Gateway func() net.IP + GatewayIPv6 func() net.IP + Interfaces func() []Interface + StaticRoutes func() []*types.StaticRoute + type Interface interface + Address func() *net.IPNet + AddressIPv6 func() *net.IPNet + Bridge func() bool + DstName func() string + Master func() string + Remove func() error + Routes func() []*net.IPNet + SrcName func() string + Statistics func() (*InterfaceStatistics, error) + type InterfaceStatistics struct + RxBytes uint64 + RxDropped uint64 + RxErrors uint64 + RxPackets uint64 + TxBytes uint64 + TxDropped uint64 + TxErrors uint64 + TxPackets uint64 + func (is *InterfaceStatistics) String() string + type NeighOption func() — windows/amd64 + type NeighOption func(nh *neigh) — linux/amd64 + type NeighborOptionSetter interface + Family func(int) NeighOption + LinkName func(string) NeighOption + type Sandbox interface + AddInterface func(SrcName string, DstPrefix string, options ...IfaceOption) error + AddNeighbor func(dstIP net.IP, dstMac net.HardwareAddr, option ...NeighOption) error + AddStaticRoute func(*types.StaticRoute) error + DeleteNeighbor func(dstIP net.IP, dstMac net.HardwareAddr) error + Destroy func() error + Info func() Info + InterfaceOptions func() IfaceOptionSetter + InvokeFunc func(func()) error + Key func() string + NeighborOptions func() NeighborOptionSetter + RemoveStaticRoute func(*types.StaticRoute) error + SetGateway func(gw net.IP) error + SetGatewayIPv6 func(gw net.IP) error + UnsetGateway func() error + UnsetGatewayIPv6 func() error + func NewSandbox(key string, osCreate bool) (Sandbox, error)