Documentation ¶
Index ¶
- Variables
- func Check() error
- func IPExists(ip net.IP) (bool, error)
- func LinkAddAddr(linkName, ip string) error
- func LinkAddGateway(linkName, gatewayIP string) error
- func LinkRename(old, new string) error
- func LinkSetMaster(linkName, masterName string) error
- func LinkSetNsByFile(filename, linkName string) error
- func LinkSetup(linkName string) error
- func MountNewNetworkNamespace(nsTarget string) (filesystem.Unmounter, error)
- func SetupBridge(name string) error
- func SetupVirtualEthernet(name, peer string) error
- type Releaser
- type Unsetter
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrIpForwardingDisabled = errors.New("error: ip forwarding is disabled")
)
View Source
var Fix = Check
Functions ¶
func LinkAddAddr ¶
func LinkAddGateway ¶
func LinkRename ¶
func LinkSetMaster ¶
func LinkSetNsByFile ¶
func MountNewNetworkNamespace ¶
func MountNewNetworkNamespace(nsTarget string) (filesystem.Unmounter, error)
func SetupBridge ¶
func SetupVirtualEthernet ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.