Documentation ¶
Overview ¶
Package executer is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executer ¶
type Executer interface { Execute(command string) (string, error) TempFile(dir, pattern string) (f *os.File, err error) }
func NewExecuter ¶
func NewExecuter() Executer
type MockExecuter ¶
type MockExecuter struct {
// contains filtered or unexported fields
}
MockExecuter is a mock of Executer interface.
func NewMockExecuter ¶
func NewMockExecuter(ctrl *gomock.Controller) *MockExecuter
NewMockExecuter creates a new mock instance.
func (*MockExecuter) EXPECT ¶
func (m *MockExecuter) EXPECT() *MockExecuterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockExecuterMockRecorder ¶
type MockExecuterMockRecorder struct {
// contains filtered or unexported fields
}
MockExecuterMockRecorder is the mock recorder for MockExecuter.
func (*MockExecuterMockRecorder) Execute ¶
func (mr *MockExecuterMockRecorder) Execute(command interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockExecuterMockRecorder) TempFile ¶
func (mr *MockExecuterMockRecorder) TempFile(dir, pattern interface{}) *gomock.Call
TempFile indicates an expected call of TempFile.
Click to show internal directories.
Click to hide internal directories.