Versions in this module Expand all Collapse all v0 v0.9.1 Mar 25, 2014 Changes in this version + type Loopback struct + func (l *Loopback) Create(n *libcontainer.Network, nspid int, context libcontainer.Context) error + func (l *Loopback) Initialize(config *libcontainer.Network, context libcontainer.Context) error v0.9.0 Mar 10, 2014 Changes in this version + var ErrNotValidStrategyType = errors.New("not a valid network strategy type") + func ChangeInterfaceName(old, newName string) error + func CreateVethPair(name1, name2 string) error + func InterfaceDown(name string) error + func InterfaceUp(name string) error + func SetDefaultGateway(ip string) error + func SetInterfaceInNamespacePid(name string, nsPid int) error + func SetInterfaceIp(name string, rawIp string) error + func SetInterfaceMaster(name, master string) error + func SetMtu(name string, mtu int) error + type NetworkStrategy interface + Create func(*libcontainer.Network, int, libcontainer.Context) error + Initialize func(*libcontainer.Network, libcontainer.Context) error + func GetStrategy(tpe string) (NetworkStrategy, error) + type Veth struct + func (v *Veth) Create(n *libcontainer.Network, nspid int, context libcontainer.Context) error + func (v *Veth) Initialize(config *libcontainer.Network, context libcontainer.Context) error