Documentation
¶
Index ¶
- func CmdlineArgsFromFile(t *testing.T, path string) []string
- type MockDeviceDetector
- type MockExtractor
- type MockNameFilter
- type MockProcess
- func (m *MockProcess) CmdlineSliceWithContext(ctx context.Context) ([]string, error)
- func (m *MockProcess) CreateTimeWithContext(ctx context.Context) (int64, error)
- func (m *MockProcess) CwdWithContext(ctx context.Context) (string, error)
- func (m *MockProcess) EnvironWithContext(ctx context.Context) ([]string, error)
- func (m *MockProcess) ExeWithContext(ctx context.Context) (string, error)
- func (m *MockProcess) OpenFilesWithContext(ctx context.Context) ([]detector.OpenFilesStat, error)
- func (m *MockProcess) PID() int32
- type MockProcessDetector
- type MockProcessFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockDeviceDetector ¶
type MockExtractor ¶
type MockNameFilter ¶
func (*MockNameFilter) ShouldInclude ¶
func (m *MockNameFilter) ShouldInclude(name string) bool
type MockProcess ¶
func (*MockProcess) CmdlineSliceWithContext ¶
func (m *MockProcess) CmdlineSliceWithContext(ctx context.Context) ([]string, error)
func (*MockProcess) CreateTimeWithContext ¶
func (m *MockProcess) CreateTimeWithContext(ctx context.Context) (int64, error)
func (*MockProcess) CwdWithContext ¶
func (m *MockProcess) CwdWithContext(ctx context.Context) (string, error)
func (*MockProcess) EnvironWithContext ¶
func (m *MockProcess) EnvironWithContext(ctx context.Context) ([]string, error)
func (*MockProcess) ExeWithContext ¶
func (m *MockProcess) ExeWithContext(ctx context.Context) (string, error)
func (*MockProcess) OpenFilesWithContext ¶ added in v1.300062.0
func (m *MockProcess) OpenFilesWithContext(ctx context.Context) ([]detector.OpenFilesStat, error)
func (*MockProcess) PID ¶
func (m *MockProcess) PID() int32
type MockProcessDetector ¶
type MockProcessFilter ¶
func (*MockProcessFilter) ShouldInclude ¶
Click to show internal directories.
Click to hide internal directories.