Back to godoc.org

Package fake

v0.30.2
Latest Go to latest

The highest tagged major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/artefactual-labs/enduro

Overview

Package fake is a generated GoMock package.

Index

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) Create

func (m *MockService) Create(arg0 context.Context, arg1 *collection0.Collection) error

Create 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) Goa

func (m *MockService) Goa() collection.Service

Goa mocks base method

func (*MockService) HTTPDownload

func (m *MockService) HTTPDownload(arg0 http.Muxer, arg1 func(*http0.Request) http.Decoder) http0.HandlerFunc

HTTPDownload mocks base method

func (*MockService) SetOriginalID

func (m *MockService) SetOriginalID(arg0 context.Context, arg1 uint, arg2 string) error

SetOriginalID mocks base method

func (*MockService) SetStatus

func (m *MockService) SetStatus(arg0 context.Context, arg1 uint, arg2 collection0.Status) error

SetStatus mocks base method

func (*MockService) SetStatusInProgress

func (m *MockService) SetStatusInProgress(arg0 context.Context, arg1 uint, arg2 time.Time) error

SetStatusInProgress mocks base method

func (*MockService) SetStatusPending

func (m *MockService) SetStatusPending(arg0 context.Context, arg1 uint, arg2 []byte) error

SetStatusPending mocks base method

func (*MockService) UpdateWorkflowStatus

func (m *MockService) UpdateWorkflowStatus(arg0 context.Context, arg1 uint, arg2, arg3, arg4, arg5, arg6, arg7 string, arg8 collection0.Status, arg9 time.Time) error

UpdateWorkflowStatus mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Create

func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockServiceMockRecorder) Goa

func (mr *MockServiceMockRecorder) Goa() *gomock.Call

Goa indicates an expected call of Goa

func (*MockServiceMockRecorder) HTTPDownload

func (mr *MockServiceMockRecorder) HTTPDownload(arg0, arg1 interface{}) *gomock.Call

HTTPDownload indicates an expected call of HTTPDownload

func (*MockServiceMockRecorder) SetOriginalID

func (mr *MockServiceMockRecorder) SetOriginalID(arg0, arg1, arg2 interface{}) *gomock.Call

SetOriginalID indicates an expected call of SetOriginalID

func (*MockServiceMockRecorder) SetStatus

func (mr *MockServiceMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus

func (*MockServiceMockRecorder) SetStatusInProgress

func (mr *MockServiceMockRecorder) SetStatusInProgress(arg0, arg1, arg2 interface{}) *gomock.Call

SetStatusInProgress indicates an expected call of SetStatusInProgress

func (*MockServiceMockRecorder) SetStatusPending

func (mr *MockServiceMockRecorder) SetStatusPending(arg0, arg1, arg2 interface{}) *gomock.Call

SetStatusPending indicates an expected call of SetStatusPending

func (*MockServiceMockRecorder) UpdateWorkflowStatus

func (mr *MockServiceMockRecorder) UpdateWorkflowStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call

UpdateWorkflowStatus indicates an expected call of UpdateWorkflowStatus

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier