Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableNetworkManagerForInterfaces ¶
func DisableNetworkManagerForInterfaces(nm NetworkManagerIf, interfaces []string) error
Types ¶
type DeviceWrapper ¶
type DeviceWrapper struct {
// contains filtered or unexported fields
}
func (*DeviceWrapper) GetPropertyInterface ¶
func (d *DeviceWrapper) GetPropertyInterface() (string, error)
func (*DeviceWrapper) SetPropertyManaged ¶
func (d *DeviceWrapper) SetPropertyManaged(managed bool) error
type DeviceWrapperIf ¶
type NetworkManager ¶
type NetworkManager struct {
// contains filtered or unexported fields
}
func (*NetworkManager) GetAllDevices ¶
func (r *NetworkManager) GetAllDevices() ([]DeviceWrapperIf, error)
func (*NetworkManager) GetPropertyVersion ¶
func (r *NetworkManager) GetPropertyVersion() (string, error)
type NetworkManagerIf ¶
type NetworkManagerIf interface {
GetPropertyVersion() (string, error)
GetAllDevices() ([]DeviceWrapperIf, error)
}
func NewNetworkManager ¶
func NewNetworkManager() (NetworkManagerIf, error)
Click to show internal directories.
Click to hide internal directories.