MCPcopy
hub / github.com/AnalogJ/scrutiny / Interface

Interface Interface

collector/pkg/common/shell/interface.go:9–11  ·  view source on GitHub ↗

Create mock using: mockgen -source=collector/pkg/common/shell/interface.go -destination=collector/pkg/common/shell/mock/mock_shell.go

Source from the content-addressed store, hash-verified

7// Create mock using:
8// mockgen -source=collector/pkg/common/shell/interface.go -destination=collector/pkg/common/shell/mock/mock_shell.go
9type Interface interface {
10 Command(logger *logrus.Entry, cmdName string, cmdArgs []string, workingDir string, environ []string) (string, error)
11}

Callers 8

CollectMethod · 0.65
CommandMethod · 0.65
SmartctlScanMethod · 0.65
SmartCtlInfoMethod · 0.65
TestDetect_SmartctlScanFunction · 0.65
TestDetect_SmartCtlInfoFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected