Documentation ¶
Overview ¶
Package program is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) Compile(ctx context.Context, sourceRelativePath, binaryRelativePath string) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetBinaryFileExtension() string
- func (m *MockService) GetExecutionCommand(ctx context.Context, sourceRelativePath, binaryRelativePath string) *exec.Cmd
- func (m *MockService) GetSourceFileExtension() string
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Compile(ctx, sourceRelativePath, binaryRelativePath interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetBinaryFileExtension() *gomock.Call
- func (mr *MockServiceMockRecorder) GetExecutionCommand(ctx, sourceRelativePath, binaryRelativePath interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSourceFileExtension() *gomock.Call
- type MockserviceRuntime
- type MockserviceRuntimeMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) Compile ¶
func (m *MockService) Compile(ctx context.Context, sourceRelativePath, binaryRelativePath string) error
Compile mocks base method
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetBinaryFileExtension ¶
func (m *MockService) GetBinaryFileExtension() string
GetBinaryFileExtension mocks base method
func (*MockService) GetExecutionCommand ¶
func (m *MockService) GetExecutionCommand(ctx context.Context, sourceRelativePath, binaryRelativePath string) *exec.Cmd
GetExecutionCommand mocks base method
func (*MockService) GetSourceFileExtension ¶
func (m *MockService) GetSourceFileExtension() string
GetSourceFileExtension mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) Compile ¶
func (mr *MockServiceMockRecorder) Compile(ctx, sourceRelativePath, binaryRelativePath interface{}) *gomock.Call
Compile indicates an expected call of Compile
func (*MockServiceMockRecorder) GetBinaryFileExtension ¶
func (mr *MockServiceMockRecorder) GetBinaryFileExtension() *gomock.Call
GetBinaryFileExtension indicates an expected call of GetBinaryFileExtension
func (*MockServiceMockRecorder) GetExecutionCommand ¶
func (mr *MockServiceMockRecorder) GetExecutionCommand(ctx, sourceRelativePath, binaryRelativePath interface{}) *gomock.Call
GetExecutionCommand indicates an expected call of GetExecutionCommand
func (*MockServiceMockRecorder) GetSourceFileExtension ¶
func (mr *MockServiceMockRecorder) GetSourceFileExtension() *gomock.Call
GetSourceFileExtension indicates an expected call of GetSourceFileExtension
type MockserviceRuntime ¶
type MockserviceRuntime struct {
// contains filtered or unexported fields
}
MockserviceRuntime is a mock of serviceRuntime interface
func NewMockserviceRuntime ¶
func NewMockserviceRuntime(ctrl *gomock.Controller) *MockserviceRuntime
NewMockserviceRuntime creates a new mock instance
func (*MockserviceRuntime) EXPECT ¶
func (m *MockserviceRuntime) EXPECT() *MockserviceRuntimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockserviceRuntimeMockRecorder ¶
type MockserviceRuntimeMockRecorder struct {
// contains filtered or unexported fields
}
MockserviceRuntimeMockRecorder is the mock recorder for MockserviceRuntime
func (*MockserviceRuntimeMockRecorder) Run ¶
func (mr *MockserviceRuntimeMockRecorder) Run(cmd interface{}) *gomock.Call
Run indicates an expected call of Run