network

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterfaceNetwork

type MockInterfaceNetwork struct {
	mock.Mock
}

func (*MockInterfaceNetwork) ActivateAccessPoint

func (v *MockInterfaceNetwork) ActivateAccessPoint(flags dbus.Flags, uuid string, apPath dbus.ObjectPath, devPath dbus.ObjectPath) (dbus.ObjectPath, error)

func (*MockInterfaceNetwork) ActivateConnection

func (v *MockInterfaceNetwork) ActivateConnection(flags dbus.Flags, uuid string, devPath dbus.ObjectPath) (dbus.ObjectPath, error)

func (*MockInterfaceNetwork) ActiveConnections

func (v *MockInterfaceNetwork) ActiveConnections() proxy.PropString

func (*MockInterfaceNetwork) ConnectAccessPointAdded

func (v *MockInterfaceNetwork) ConnectAccessPointAdded(cb func(devPath string, apJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceNetwork) ConnectAccessPointPropertiesChanged

func (v *MockInterfaceNetwork) ConnectAccessPointPropertiesChanged(cb func(devPath string, apJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceNetwork) ConnectAccessPointRemoved

func (v *MockInterfaceNetwork) ConnectAccessPointRemoved(cb func(devPath string, apJSON string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceNetwork) ConnectActiveConnectionInfoChanged

func (v *MockInterfaceNetwork) ConnectActiveConnectionInfoChanged(cb func()) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceNetwork) ConnectDeviceEnabled

func (v *MockInterfaceNetwork) ConnectDeviceEnabled(cb func(devPath string, enabled bool)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceNetwork) ConnectIPConflict

func (v *MockInterfaceNetwork) ConnectIPConflict(cb func(ip string, mac string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceNetwork) Connections

func (v *MockInterfaceNetwork) Connections() proxy.PropString

func (*MockInterfaceNetwork) Connectivity

func (v *MockInterfaceNetwork) Connectivity() proxy.PropUint32

func (*MockInterfaceNetwork) DeactivateConnection

func (v *MockInterfaceNetwork) DeactivateConnection(flags dbus.Flags, uuid string) error

func (*MockInterfaceNetwork) DebugChangeAPChannel

func (v *MockInterfaceNetwork) DebugChangeAPChannel(flags dbus.Flags, band string) error

func (*MockInterfaceNetwork) DeleteConnection

func (v *MockInterfaceNetwork) DeleteConnection(flags dbus.Flags, uuid string) error

func (*MockInterfaceNetwork) Devices

func (v *MockInterfaceNetwork) Devices() proxy.PropString

func (*MockInterfaceNetwork) DisableWirelessHotspotMode

func (v *MockInterfaceNetwork) DisableWirelessHotspotMode(flags dbus.Flags, devPath dbus.ObjectPath) error

func (*MockInterfaceNetwork) DisconnectDevice

func (v *MockInterfaceNetwork) DisconnectDevice(flags dbus.Flags, devPath dbus.ObjectPath) error

func (*MockInterfaceNetwork) EnableDevice

func (v *MockInterfaceNetwork) EnableDevice(flags dbus.Flags, devPath dbus.ObjectPath, enabled bool) error

func (*MockInterfaceNetwork) EnableWirelessHotspotMode

func (v *MockInterfaceNetwork) EnableWirelessHotspotMode(flags dbus.Flags, devPath dbus.ObjectPath) error

func (*MockInterfaceNetwork) GetAccessPoints

func (v *MockInterfaceNetwork) GetAccessPoints(flags dbus.Flags, path dbus.ObjectPath) (string, error)

func (*MockInterfaceNetwork) GetActiveConnectionInfo

func (v *MockInterfaceNetwork) GetActiveConnectionInfo(flags dbus.Flags) (string, error)

func (*MockInterfaceNetwork) GetAutoProxy

func (v *MockInterfaceNetwork) GetAutoProxy(flags dbus.Flags) (string, error)

func (*MockInterfaceNetwork) GetProxy

func (v *MockInterfaceNetwork) GetProxy(flags dbus.Flags, proxyType string) (string, string, error)

func (*MockInterfaceNetwork) GetProxyAuthentication

func (v *MockInterfaceNetwork) GetProxyAuthentication(flags dbus.Flags, proxyType string) (string, string, bool, error)

func (*MockInterfaceNetwork) GetProxyIgnoreHosts

func (v *MockInterfaceNetwork) GetProxyIgnoreHosts(flags dbus.Flags) (string, error)

func (*MockInterfaceNetwork) GetProxyMethod

func (v *MockInterfaceNetwork) GetProxyMethod(flags dbus.Flags) (string, error)

func (*MockInterfaceNetwork) GetSupportedConnectionTypes

func (v *MockInterfaceNetwork) GetSupportedConnectionTypes(flags dbus.Flags) ([]string, error)

func (*MockInterfaceNetwork) GoActivateAccessPoint

func (v *MockInterfaceNetwork) GoActivateAccessPoint(flags dbus.Flags, ch chan *dbus.Call, uuid string, apPath dbus.ObjectPath, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoActivateConnection

func (v *MockInterfaceNetwork) GoActivateConnection(flags dbus.Flags, ch chan *dbus.Call, uuid string, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoDeactivateConnection

func (v *MockInterfaceNetwork) GoDeactivateConnection(flags dbus.Flags, ch chan *dbus.Call, uuid string) *dbus.Call

func (*MockInterfaceNetwork) GoDebugChangeAPChannel

func (v *MockInterfaceNetwork) GoDebugChangeAPChannel(flags dbus.Flags, ch chan *dbus.Call, band string) *dbus.Call

func (*MockInterfaceNetwork) GoDeleteConnection

func (v *MockInterfaceNetwork) GoDeleteConnection(flags dbus.Flags, ch chan *dbus.Call, uuid string) *dbus.Call

func (*MockInterfaceNetwork) GoDisableWirelessHotspotMode

func (v *MockInterfaceNetwork) GoDisableWirelessHotspotMode(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoDisconnectDevice

func (v *MockInterfaceNetwork) GoDisconnectDevice(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoEnableDevice

func (v *MockInterfaceNetwork) GoEnableDevice(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath, enabled bool) *dbus.Call

func (*MockInterfaceNetwork) GoEnableWirelessHotspotMode

func (v *MockInterfaceNetwork) GoEnableWirelessHotspotMode(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoGetAccessPoints

func (v *MockInterfaceNetwork) GoGetAccessPoints(flags dbus.Flags, ch chan *dbus.Call, path dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoGetActiveConnectionInfo

func (v *MockInterfaceNetwork) GoGetActiveConnectionInfo(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceNetwork) GoGetAutoProxy

func (v *MockInterfaceNetwork) GoGetAutoProxy(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceNetwork) GoGetProxy

func (v *MockInterfaceNetwork) GoGetProxy(flags dbus.Flags, ch chan *dbus.Call, proxyType string) *dbus.Call

func (*MockInterfaceNetwork) GoGetProxyAuthentication

func (v *MockInterfaceNetwork) GoGetProxyAuthentication(flags dbus.Flags, ch chan *dbus.Call, proxyType string) *dbus.Call

func (*MockInterfaceNetwork) GoGetProxyIgnoreHosts

func (v *MockInterfaceNetwork) GoGetProxyIgnoreHosts(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceNetwork) GoGetProxyMethod

func (v *MockInterfaceNetwork) GoGetProxyMethod(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceNetwork) GoGetSupportedConnectionTypes

func (v *MockInterfaceNetwork) GoGetSupportedConnectionTypes(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceNetwork) GoIsDeviceEnabled

func (v *MockInterfaceNetwork) GoIsDeviceEnabled(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoIsWirelessHotspotModeEnabled

func (v *MockInterfaceNetwork) GoIsWirelessHotspotModeEnabled(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoListDeviceConnections

func (v *MockInterfaceNetwork) GoListDeviceConnections(flags dbus.Flags, ch chan *dbus.Call, devPath dbus.ObjectPath) *dbus.Call

func (*MockInterfaceNetwork) GoRequestIPConflictCheck

func (v *MockInterfaceNetwork) GoRequestIPConflictCheck(flags dbus.Flags, ch chan *dbus.Call, ip string, ifc string) *dbus.Call

func (*MockInterfaceNetwork) GoRequestWirelessScan

func (v *MockInterfaceNetwork) GoRequestWirelessScan(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceNetwork) GoSetAutoProxy

func (v *MockInterfaceNetwork) GoSetAutoProxy(flags dbus.Flags, ch chan *dbus.Call, proxyAuto string) *dbus.Call

func (*MockInterfaceNetwork) GoSetDeviceManaged

func (v *MockInterfaceNetwork) GoSetDeviceManaged(flags dbus.Flags, ch chan *dbus.Call, devPathOrIfc string, managed bool) *dbus.Call

func (*MockInterfaceNetwork) GoSetProxy

func (v *MockInterfaceNetwork) GoSetProxy(flags dbus.Flags, ch chan *dbus.Call, proxyType string, host string, port string) *dbus.Call

func (*MockInterfaceNetwork) GoSetProxyAuthentication

func (v *MockInterfaceNetwork) GoSetProxyAuthentication(flags dbus.Flags, ch chan *dbus.Call, proxyType string, user string, password string, enable bool) *dbus.Call

func (*MockInterfaceNetwork) GoSetProxyIgnoreHosts

func (v *MockInterfaceNetwork) GoSetProxyIgnoreHosts(flags dbus.Flags, ch chan *dbus.Call, ignoreHosts string) *dbus.Call

func (*MockInterfaceNetwork) GoSetProxyMethod

func (v *MockInterfaceNetwork) GoSetProxyMethod(flags dbus.Flags, ch chan *dbus.Call, proxyMode string) *dbus.Call

func (*MockInterfaceNetwork) IsDeviceEnabled

func (v *MockInterfaceNetwork) IsDeviceEnabled(flags dbus.Flags, devPath dbus.ObjectPath) (bool, error)

func (*MockInterfaceNetwork) IsWirelessHotspotModeEnabled

func (v *MockInterfaceNetwork) IsWirelessHotspotModeEnabled(flags dbus.Flags, devPath dbus.ObjectPath) (bool, error)

func (*MockInterfaceNetwork) ListDeviceConnections

func (v *MockInterfaceNetwork) ListDeviceConnections(flags dbus.Flags, devPath dbus.ObjectPath) ([]dbus.ObjectPath, error)

func (*MockInterfaceNetwork) NetworkingEnabled

func (v *MockInterfaceNetwork) NetworkingEnabled() proxy.PropBool

func (*MockInterfaceNetwork) RequestIPConflictCheck

func (v *MockInterfaceNetwork) RequestIPConflictCheck(flags dbus.Flags, ip string, ifc string) error

func (*MockInterfaceNetwork) RequestWirelessScan

func (v *MockInterfaceNetwork) RequestWirelessScan(flags dbus.Flags) error

func (*MockInterfaceNetwork) SetAutoProxy

func (v *MockInterfaceNetwork) SetAutoProxy(flags dbus.Flags, proxyAuto string) error

func (*MockInterfaceNetwork) SetDeviceManaged

func (v *MockInterfaceNetwork) SetDeviceManaged(flags dbus.Flags, devPathOrIfc string, managed bool) error

func (*MockInterfaceNetwork) SetProxy

func (v *MockInterfaceNetwork) SetProxy(flags dbus.Flags, proxyType string, host string, port string) error

func (*MockInterfaceNetwork) SetProxyAuthentication

func (v *MockInterfaceNetwork) SetProxyAuthentication(flags dbus.Flags, proxyType string, user string, password string, enable bool) error

func (*MockInterfaceNetwork) SetProxyIgnoreHosts

func (v *MockInterfaceNetwork) SetProxyIgnoreHosts(flags dbus.Flags, ignoreHosts string) error

func (*MockInterfaceNetwork) SetProxyMethod

func (v *MockInterfaceNetwork) SetProxyMethod(flags dbus.Flags, proxyMode string) error

func (*MockInterfaceNetwork) State

func (*MockInterfaceNetwork) VpnEnabled

func (v *MockInterfaceNetwork) VpnEnabled() proxy.PropBool

func (*MockInterfaceNetwork) WirelessAccessPoints

func (v *MockInterfaceNetwork) WirelessAccessPoints() proxy.PropString

type MockNetwork

type MockNetwork struct {
	MockInterfaceNetwork // interface com.deepin.daemon.Network
	proxy.MockObject
}

type Network

type Network interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewNetwork

func NewNetwork(conn *dbus.Conn) Network

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL