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 ¶
- type MockArtifactManager
- func (m *MockArtifactManager) Close() error
- func (m *MockArtifactManager) CreateArtifact(arg0 weles.ArtifactDescription) (weles.ArtifactPath, error)
- func (m *MockArtifactManager) EXPECT() *MockArtifactManagerMockRecorder
- func (m *MockArtifactManager) GetArtifactInfo(arg0 weles.ArtifactPath) (weles.ArtifactInfo, error)
- func (m *MockArtifactManager) ListArtifact(arg0 weles.ArtifactFilter, arg1 weles.ArtifactSorter, ...) ([]weles.ArtifactInfo, weles.ListInfo, error)
- func (m *MockArtifactManager) PushArtifact(arg0 weles.ArtifactDescription, arg1 chan weles.ArtifactStatusChange) (weles.ArtifactPath, error)
- type MockArtifactManagerMockRecorder
- func (mr *MockArtifactManagerMockRecorder) Close() *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) CreateArtifact(arg0 interface{}) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) GetArtifactInfo(arg0 interface{}) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) ListArtifact(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockArtifactManagerMockRecorder) PushArtifact(arg0, arg1 interface{}) *gomock.Call
- type MockDryadJobManager
- func (m *MockDryadJobManager) Cancel(arg0 weles.JobID) error
- func (m *MockDryadJobManager) Create(arg0 weles.JobID, arg1 weles.Dryad, arg2 weles.Config, ...) error
- func (m *MockDryadJobManager) EXPECT() *MockDryadJobManagerMockRecorder
- func (m *MockDryadJobManager) List(arg0 *weles.DryadJobFilter) ([]weles.DryadJobInfo, error)
- type MockDryadJobManagerMockRecorder
- type MockJobManager
- func (m *MockJobManager) CancelJob(arg0 weles.JobID) error
- func (m *MockJobManager) CreateJob(arg0 []byte) (weles.JobID, error)
- func (m *MockJobManager) EXPECT() *MockJobManagerMockRecorder
- func (m *MockJobManager) ListJobs(arg0 weles.JobFilter, arg1 weles.JobSorter, arg2 weles.JobPagination) ([]weles.JobInfo, weles.ListInfo, error)
- type MockJobManagerMockRecorder
- type MockParser
- type MockParserMockRecorder
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 ¶
func (m *MockArtifactManager) CreateArtifact(arg0 weles.ArtifactDescription) (weles.ArtifactPath, error)
CreateArtifact mocks base method
func (*MockArtifactManager) EXPECT ¶
func (m *MockArtifactManager) EXPECT() *MockArtifactManagerMockRecorder
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 ¶
func (m *MockArtifactManager) ListArtifact(arg0 weles.ArtifactFilter, arg1 weles.ArtifactSorter, arg2 weles.ArtifactPagination) ([]weles.ArtifactInfo, weles.ListInfo, error)
ListArtifact mocks base method
func (*MockArtifactManager) PushArtifact ¶
func (m *MockArtifactManager) PushArtifact(arg0 weles.ArtifactDescription, arg1 chan weles.ArtifactStatusChange) (weles.ArtifactPath, error)
PushArtifact mocks base method
type MockArtifactManagerMockRecorder ¶
type MockArtifactManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockArtifactManagerMockRecorder is the mock recorder for MockArtifactManager
func (*MockArtifactManagerMockRecorder) Close ¶
func (mr *MockArtifactManagerMockRecorder) Close() *gomock.Call
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 ¶
func (m *MockDryadJobManager) EXPECT() *MockDryadJobManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDryadJobManager) List ¶
func (m *MockDryadJobManager) List(arg0 *weles.DryadJobFilter) ([]weles.DryadJobInfo, error)
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 ¶
func (m *MockJobManager) EXPECT() *MockJobManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
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