mock_runcmd

package
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 3 Imported by: 0

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL