program

package
v0.0.0-...-6ad1837 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package program is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockserviceRuntime) Run

func (m *MockserviceRuntime) Run(cmd *exec.Cmd) error

Run mocks base method

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

Jump to

Keyboard shortcuts

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