Documentation ¶
Index ¶
- type Probe
- func (_m *Probe) Close()
- func (_m *Probe) ProcessesByPID(now time.Time, collectStats bool) (map[int32]*procutil.Process, error)
- func (_m *Probe) StatsForPIDs(pids []int32, now time.Time) (map[int32]*procutil.Stats, error)
- func (_m *Probe) StatsWithPermByPID(pids []int32) (map[int32]*procutil.StatsWithPerm, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Probe ¶
Probe is an autogenerated mock type for the Probe type
func NewProbe ¶
NewProbe creates a new instance of Probe. 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 (*Probe) ProcessesByPID ¶
func (_m *Probe) ProcessesByPID(now time.Time, collectStats bool) (map[int32]*procutil.Process, error)
ProcessesByPID provides a mock function with given fields: now, collectStats
func (*Probe) StatsForPIDs ¶
StatsForPIDs provides a mock function with given fields: pids, now
func (*Probe) StatsWithPermByPID ¶
StatsWithPermByPID provides a mock function with given fields: pids
Click to show internal directories.
Click to hide internal directories.