Versions in this module
v1
Jun 11, 2018
May 24, 2018
Changes in this version
+
func RenameInterface(ifName string, newName string, timeLog measure.StopWatchEntry) error
—
js/wasm, linux/amd64
Nov 21, 2017
Oct 31, 2017
Changes in this version
+
func AddInterfaceIP(ifName string, addr *net.IPNet, timeLog measure.StopWatchEntry) error
—
js/wasm, linux/amd64
+
func CompareNamespaces(ns1 *intf.LinuxInterfaces_Interface_Namespace, ...) int
—
darwin/amd64, windows/amd64
+
func DelInterfaceIP(ifName string, addr *net.IPNet, timeLog measure.StopWatchEntry) error
—
js/wasm, linux/amd64
+
func GetDefaultNamespace() *intf.LinuxInterfaces_Interface_Namespace
—
darwin/amd64, windows/amd64
+
func GetInterfaceType(ifName string, timeLog measure.StopWatchEntry) (string, error)
—
js/wasm, linux/amd64
+
func GetVethPeerName(ifName string, timeLog measure.StopWatchEntry) (string, error)
—
js/wasm, linux/amd64
+
func InterfaceAdminDown(ifName string, timeLog measure.StopWatchEntry) error
—
js/wasm, linux/amd64
+
func InterfaceExists(ifName string, timeLog measure.StopWatchEntry) (bool, error)
—
js/wasm, linux/amd64
+
func SetInterfaceMTU(ifName string, mtu int, timeLog measure.StopWatchEntry) error
—
js/wasm, linux/amd64
+
func SetInterfaceMac(ifName string, macAddress string, timeLog measure.StopWatchEntry) error
—
js/wasm, linux/amd64
+
func SwitchNamespace(ctx *NamespaceMgmtCtx, namespace *intf.LinuxInterfaces_Interface_Namespace) (revert func(), err error)
—
darwin/amd64, windows/amd64
+
func ToInterfaceNs(ns *Namespace) (*intf.LinuxInterfaces_Interface_Namespace, error)
—
js/wasm, linux/amd64