Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- type MockInterfaceNetwork
- func (v *MockInterfaceNetwork) ConnectDeviceEnabled(cb func(devPath dbus.ObjectPath, enabled bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceNetwork) EnableDevice(flags dbus.Flags, pathOrIface string, enabled bool) (dbus.ObjectPath, error)
- func (v *MockInterfaceNetwork) GoEnableDevice(flags dbus.Flags, ch chan *dbus.Call, pathOrIface string, enabled bool) *dbus.Call
- func (v *MockInterfaceNetwork) GoIsDeviceEnabled(flags dbus.Flags, ch chan *dbus.Call, pathOrIface string) *dbus.Call
- func (v *MockInterfaceNetwork) GoPing(flags dbus.Flags, ch chan *dbus.Call, host string) *dbus.Call
- func (v *MockInterfaceNetwork) GoToggleWirelessEnabled(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceNetwork) IsDeviceEnabled(flags dbus.Flags, pathOrIface string) (bool, error)
- func (v *MockInterfaceNetwork) Ping(flags dbus.Flags, host string) error
- func (v *MockInterfaceNetwork) ToggleWirelessEnabled(flags dbus.Flags) (bool, error)
- func (v *MockInterfaceNetwork) VpnEnabled() proxy.PropBool
- type MockNetwork
- type Network
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterfaceNetwork ¶
func (*MockInterfaceNetwork) ConnectDeviceEnabled ¶
func (v *MockInterfaceNetwork) ConnectDeviceEnabled(cb func(devPath dbus.ObjectPath, enabled bool)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceNetwork) EnableDevice ¶
func (v *MockInterfaceNetwork) EnableDevice(flags dbus.Flags, pathOrIface string, enabled bool) (dbus.ObjectPath, error)
func (*MockInterfaceNetwork) GoEnableDevice ¶
func (v *MockInterfaceNetwork) GoEnableDevice(flags dbus.Flags, ch chan *dbus.Call, pathOrIface string, enabled bool) *dbus.Call
func (*MockInterfaceNetwork) GoIsDeviceEnabled ¶
func (v *MockInterfaceNetwork) GoIsDeviceEnabled(flags dbus.Flags, ch chan *dbus.Call, pathOrIface string) *dbus.Call
func (*MockInterfaceNetwork) GoPing ¶
func (v *MockInterfaceNetwork) GoPing(flags dbus.Flags, ch chan *dbus.Call, host string) *dbus.Call
func (*MockInterfaceNetwork) GoToggleWirelessEnabled ¶
func (v *MockInterfaceNetwork) GoToggleWirelessEnabled(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceNetwork) IsDeviceEnabled ¶
func (v *MockInterfaceNetwork) IsDeviceEnabled(flags dbus.Flags, pathOrIface string) (bool, error)
func (*MockInterfaceNetwork) Ping ¶
func (v *MockInterfaceNetwork) Ping(flags dbus.Flags, host string) error
func (*MockInterfaceNetwork) ToggleWirelessEnabled ¶
func (v *MockInterfaceNetwork) ToggleWirelessEnabled(flags dbus.Flags) (bool, error)
func (*MockInterfaceNetwork) VpnEnabled ¶
func (v *MockInterfaceNetwork) VpnEnabled() proxy.PropBool
type MockNetwork ¶
type MockNetwork struct { MockInterfaceNetwork // interface org.deepin.dde.Network1 proxy.MockObject }
Click to show internal directories.
Click to hide internal directories.