Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBridge ¶
func NewBridge(name string)
NewBridge creates a new bridge device in the host machine
func NewVethPair ¶
func NewVethPair(name string)
NewVethPair creates a veth interface pair for establishing connection between the host and the container through the bridge device:
- veth1 is attached to the bridge
- veth2 is attached to the container's namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.