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 MockInterfaceProcs
- func (v *MockInterfaceProcs) ConnectExecProc(cb func(ExecPath string, CGroupPath string, Pid string, PPid string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceProcs) ConnectExitProc(cb func(ExecPath string, CGroupPath string, Pid string, PPid string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceProcs) Procs() PropProcsMap
- type MockProcs
- type MockPropProcsMap
- type ProcMessage
- type Procs
- type PropProcsMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterfaceProcs ¶
func (*MockInterfaceProcs) ConnectExecProc ¶
func (v *MockInterfaceProcs) ConnectExecProc(cb func(ExecPath string, CGroupPath string, Pid string, PPid string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceProcs) ConnectExitProc ¶
func (v *MockInterfaceProcs) ConnectExitProc(cb func(ExecPath string, CGroupPath string, Pid string, PPid string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceProcs) Procs ¶
func (v *MockInterfaceProcs) Procs() PropProcsMap
type MockProcs ¶
type MockProcs struct { MockInterfaceProcs // interface com.deepin.system.Procs proxy.MockObject }
type MockPropProcsMap ¶
func (MockPropProcsMap) ConnectChanged ¶
func (p MockPropProcsMap) ConnectChanged(cb func(hasValue bool, value map[string]ProcMessage)) error
func (MockPropProcsMap) Get ¶
func (p MockPropProcsMap) Get(flags dbus.Flags) (value map[string]ProcMessage, err error)
func (MockPropProcsMap) Set ¶
func (p MockPropProcsMap) Set(flags dbus.Flags, value map[string]ProcMessage) error
type ProcMessage ¶
type PropProcsMap ¶
type PropProcsMap interface { Get(flags dbus.Flags) (value map[string]ProcMessage, err error) Set(flags dbus.Flags, value map[string]ProcMessage) error ConnectChanged(cb func(hasValue bool, value map[string]ProcMessage)) error }
Click to show internal directories.
Click to hide internal directories.