mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockArtifactManager

type MockArtifactManager struct {
	// contains filtered or unexported fields
}

MockArtifactManager is a mock of ArtifactManager interface

func NewMockArtifactManager

func NewMockArtifactManager(ctrl *gomock.Controller) *MockArtifactManager

NewMockArtifactManager creates a new mock instance

func (*MockArtifactManager) Close

func (m *MockArtifactManager) Close() error

Close mocks base method

func (*MockArtifactManager) CreateArtifact

CreateArtifact mocks base method

func (*MockArtifactManager) EXPECT

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

func (*MockArtifactManager) GetArtifactInfo

func (m *MockArtifactManager) GetArtifactInfo(arg0 weles.ArtifactPath) (weles.ArtifactInfo, error)

GetArtifactInfo mocks base method

func (*MockArtifactManager) ListArtifact

ListArtifact mocks base method

func (*MockArtifactManager) PushArtifact

PushArtifact mocks base method

type MockArtifactManagerMockRecorder

type MockArtifactManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockArtifactManagerMockRecorder is the mock recorder for MockArtifactManager

func (*MockArtifactManagerMockRecorder) Close

Close indicates an expected call of Close

func (*MockArtifactManagerMockRecorder) CreateArtifact

func (mr *MockArtifactManagerMockRecorder) CreateArtifact(arg0 interface{}) *gomock.Call

CreateArtifact indicates an expected call of CreateArtifact

func (*MockArtifactManagerMockRecorder) GetArtifactInfo

func (mr *MockArtifactManagerMockRecorder) GetArtifactInfo(arg0 interface{}) *gomock.Call

GetArtifactInfo indicates an expected call of GetArtifactInfo

func (*MockArtifactManagerMockRecorder) ListArtifact

func (mr *MockArtifactManagerMockRecorder) ListArtifact(arg0, arg1, arg2 interface{}) *gomock.Call

ListArtifact indicates an expected call of ListArtifact

func (*MockArtifactManagerMockRecorder) PushArtifact

func (mr *MockArtifactManagerMockRecorder) PushArtifact(arg0, arg1 interface{}) *gomock.Call

PushArtifact indicates an expected call of PushArtifact

type MockDryadJobManager

type MockDryadJobManager struct {
	// contains filtered or unexported fields
}

MockDryadJobManager is a mock of DryadJobManager interface

func NewMockDryadJobManager

func NewMockDryadJobManager(ctrl *gomock.Controller) *MockDryadJobManager

NewMockDryadJobManager creates a new mock instance

func (*MockDryadJobManager) Cancel

func (m *MockDryadJobManager) Cancel(arg0 weles.JobID) error

Cancel mocks base method

func (*MockDryadJobManager) Create

func (m *MockDryadJobManager) Create(arg0 weles.JobID, arg1 weles.Dryad, arg2 weles.Config, arg3 chan<- weles.DryadJobStatusChange) error

Create mocks base method

func (*MockDryadJobManager) EXPECT

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

func (*MockDryadJobManager) List

List mocks base method

type MockDryadJobManagerMockRecorder

type MockDryadJobManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockDryadJobManagerMockRecorder is the mock recorder for MockDryadJobManager

func (*MockDryadJobManagerMockRecorder) Cancel

func (mr *MockDryadJobManagerMockRecorder) Cancel(arg0 interface{}) *gomock.Call

Cancel indicates an expected call of Cancel

func (*MockDryadJobManagerMockRecorder) Create

func (mr *MockDryadJobManagerMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockDryadJobManagerMockRecorder) List

func (mr *MockDryadJobManagerMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

type MockJobManager

type MockJobManager struct {
	// contains filtered or unexported fields
}

MockJobManager is a mock of JobManager interface

func NewMockJobManager

func NewMockJobManager(ctrl *gomock.Controller) *MockJobManager

NewMockJobManager creates a new mock instance

func (*MockJobManager) CancelJob

func (m *MockJobManager) CancelJob(arg0 weles.JobID) error

CancelJob mocks base method

func (*MockJobManager) CreateJob

func (m *MockJobManager) CreateJob(arg0 []byte) (weles.JobID, error)

CreateJob mocks base method

func (*MockJobManager) EXPECT

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

func (*MockJobManager) ListJobs

ListJobs mocks base method

type MockJobManagerMockRecorder

type MockJobManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockJobManagerMockRecorder is the mock recorder for MockJobManager

func (*MockJobManagerMockRecorder) CancelJob

func (mr *MockJobManagerMockRecorder) CancelJob(arg0 interface{}) *gomock.Call

CancelJob indicates an expected call of CancelJob

func (*MockJobManagerMockRecorder) CreateJob

func (mr *MockJobManagerMockRecorder) CreateJob(arg0 interface{}) *gomock.Call

CreateJob indicates an expected call of CreateJob

func (*MockJobManagerMockRecorder) ListJobs

func (mr *MockJobManagerMockRecorder) ListJobs(arg0, arg1, arg2 interface{}) *gomock.Call

ListJobs indicates an expected call of ListJobs

type MockParser

type MockParser struct {
	// contains filtered or unexported fields
}

MockParser is a mock of Parser interface

func NewMockParser

func NewMockParser(ctrl *gomock.Controller) *MockParser

NewMockParser creates a new mock instance

func (*MockParser) EXPECT

func (m *MockParser) EXPECT() *MockParserMockRecorder

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

func (*MockParser) ParseYaml

func (m *MockParser) ParseYaml(arg0 []byte) (*weles.Config, error)

ParseYaml mocks base method

type MockParserMockRecorder

type MockParserMockRecorder struct {
	// contains filtered or unexported fields
}

MockParserMockRecorder is the mock recorder for MockParser

func (*MockParserMockRecorder) ParseYaml

func (mr *MockParserMockRecorder) ParseYaml(arg0 interface{}) *gomock.Call

ParseYaml indicates an expected call of ParseYaml

Jump to

Keyboard shortcuts

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