Versions in this module Expand all Collapse all v1 v1.1.0 Jul 9, 2026 Changes in this version + type ExecCmd interface + CombinedOutput func() ([]byte, error) + type ExecWrapper interface + CommandContext func(ctx context.Context, name string, arg ...string) ExecCmd + LookPath func(file string) (string, error) + type MockExecCmd struct + func NewMockExecCmd(ctrl *gomock.Controller) *MockExecCmd + func (m *MockExecCmd) CombinedOutput() ([]byte, error) + func (m *MockExecCmd) EXPECT() *MockExecCmdMockRecorder + type MockExecCmdMockRecorder struct + func (mr *MockExecCmdMockRecorder) CombinedOutput() *gomock.Call + type MockExecWrapper struct + func NewMockExecWrapper(ctrl *gomock.Controller) *MockExecWrapper + func (m *MockExecWrapper) CommandContext(ctx context.Context, name string, arg ...string) ExecCmd + func (m *MockExecWrapper) EXPECT() *MockExecWrapperMockRecorder + func (m *MockExecWrapper) LookPath(file string) (string, error) + type MockExecWrapperMockRecorder struct + func (mr *MockExecWrapperMockRecorder) CommandContext(ctx, name any, arg ...any) *gomock.Call + func (mr *MockExecWrapperMockRecorder) LookPath(file any) *gomock.Call + type RealExecCmd struct + func (r *RealExecCmd) CombinedOutput() ([]byte, error) + type RealExecWrapper struct + func (r *RealExecWrapper) CommandContext(ctx context.Context, name string, arg ...string) ExecCmd + func (r *RealExecWrapper) LookPath(file string) (string, error)