mocks

package
v0.0.0-...-6dc0e84 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SysProbeUtil

type SysProbeUtil struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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