Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultNetInterfaceName ¶
func DefaultNetInterfaceName(netlinkClient netlinkwrapper.NetLink) (string, error)
DefaultNetInterfaceName returns the device name of the first default network interface available on the instance. If none exist, an empty string and nil will be returned.
Types ¶
type NetworkConfigClient ¶
type NetworkConfigClient struct {
NetlinkClient netlinkwrapper.NetLink
}
func NewNetworkConfigClient ¶
func NewNetworkConfigClient() *NetworkConfigClient
Click to show internal directories.
Click to hide internal directories.