Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNeedSandbox = errors.New("Sandbox must be specified") ErrNeedSandboxID = errors.New("Sandbox ID cannot be empty") ErrNeedContainerID = errors.New("Container ID cannot be empty") ErrNeedState = errors.New("State cannot be empty") ErrNoSuchContainer = errors.New("Container does not exist") ErrInvalidConfigType = errors.New("Invalid config type") )
common error objects used for argument checking
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface struct {
Device string
Name string
IPAddresses []*IPAddress
Mtu uint64
RawFlags uint32
HwAddr string
// pciAddr is the PCI address in the format "bridgeAddr/deviceAddr".
// Here, bridgeAddr is the address at which the bridge is attached on the root bus,
// while deviceAddr is the address at which the network device is attached on the bridge.
PciAddr string
// LinkType defines the type of interface described by this structure.
// The expected values are the one that are defined by the netlink
// library, regarding each type of link. Here is a non exhaustive
// list: "veth", "macvtap", "vlan", "macvlan", "tap", ...
LinkType string
}
Interface describes a network interface.
Click to show internal directories.
Click to hide internal directories.