Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // NewNS creates a new named network namespace NewNS(nsName string) (ns.NetNS, error) // GetNS gets a named network namespace GetNS(nsName string) (ns.NetNS, error) // GetNSByPath gets a network namespace by whole path GetNSByPath(nsPath string) (ns.NetNS, error) // UnmountNS deletes a named network namespace UnmountNS(nsName string) error // ListNS lists all network namespaces ListNS() ([]string, error) }
Directories ¶
Path | Synopsis |
---|---|
Package mocknetnswrapper is a generated GoMock package.
|
Package mocknetnswrapper is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.