Documentation ¶
Overview ¶
Package mock_runcmd is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRunnerAPI ¶
type MockRunnerAPI struct {
// contains filtered or unexported fields
}
MockRunnerAPI is a mock of the RunnerAPI interface in github.com/JosiahWitt/lambgo/internal/runcmd.
func NewMockRunnerAPI ¶
func NewMockRunnerAPI(ctrl *gomock.Controller) *MockRunnerAPI
NewMockRunnerAPI creates a new mock instance.
func (*MockRunnerAPI) EXPECT ¶
func (m *MockRunnerAPI) EXPECT() *MockRunnerAPIMockRecorder
EXPECT returns a struct that allows setting up expectations.
func (*MockRunnerAPI) Exec ¶
func (m *MockRunnerAPI) Exec(_arg0 *runcmd.ExecParams) (string, error)
Exec mocks Exec on RunnerAPI.
func (*MockRunnerAPI) NEW ¶
func (*MockRunnerAPI) NEW(ctrl *gomock.Controller) *MockRunnerAPI
NEW creates a MockRunnerAPI. This method is used internally by ensure.
type MockRunnerAPIMockRecorder ¶
type MockRunnerAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerAPIMockRecorder is the mock recorder for MockRunnerAPI.
func (*MockRunnerAPIMockRecorder) Exec ¶
func (mr *MockRunnerAPIMockRecorder) Exec(_arg0 interface{}) *gomock.Call
Exec sets up expectations for calls to Exec. Calling this method multiple times allows expecting multiple calls to Exec with a variety of parameters.
Inputs:
*runcmd.ExecParams
Outputs:
string error
Click to show internal directories.
Click to hide internal directories.