Documentation
¶
Index ¶
- type SysProbeUtil
- func (_m *SysProbeUtil) GetConnections(clientID string) (*process.Connections, error)
- func (_m *SysProbeUtil) GetProcStats(pids []int32) (*process.ProcStatsWithPermByPID, error)
- func (_m *SysProbeUtil) GetStats() (map[string]interface{}, error)
- func (_m *SysProbeUtil) Register(clientID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysProbeUtil ¶
SysProbeUtil is an autogenerated mock type for the SysProbeUtil type
func NewSysProbeUtil ¶
func NewSysProbeUtil(t interface { mock.TestingT Cleanup(func()) }) *SysProbeUtil
NewSysProbeUtil creates a new instance of SysProbeUtil. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SysProbeUtil) GetConnections ¶
func (_m *SysProbeUtil) GetConnections(clientID string) (*process.Connections, error)
GetConnections provides a mock function with given fields: clientID
func (*SysProbeUtil) GetProcStats ¶
func (_m *SysProbeUtil) GetProcStats(pids []int32) (*process.ProcStatsWithPermByPID, error)
GetProcStats provides a mock function with given fields: pids
func (*SysProbeUtil) GetStats ¶
func (_m *SysProbeUtil) GetStats() (map[string]interface{}, error)
GetStats provides a mock function with given fields:
func (*SysProbeUtil) Register ¶
func (_m *SysProbeUtil) Register(clientID string) error
Register provides a mock function with given fields: clientID
Click to show internal directories.
Click to hide internal directories.