fake

package
v0.41.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package fake 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) CheckDuplicate added in v0.39.0

func (m *MockService) CheckDuplicate(arg0 context.Context, arg1 uint) (bool, error)

CheckDuplicate mocks base method.

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) SetOriginalID added in v0.19.3

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

SetOriginalID mocks base method.

func (*MockService) SetStatus added in v0.19.0

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

SetStatus mocks base method.

func (*MockService) SetStatusInProgress added in v0.19.0

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

SetStatusInProgress mocks base method.

func (*MockService) SetStatusPending added in v0.22.0

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) CheckDuplicate added in v0.39.0

func (mr *MockServiceMockRecorder) CheckDuplicate(arg0, arg1 interface{}) *ServiceCheckDuplicateCall

CheckDuplicate indicates an expected call of CheckDuplicate.

func (*MockServiceMockRecorder) Create

func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *ServiceCreateCall

Create indicates an expected call of Create.

func (*MockServiceMockRecorder) Goa

Goa indicates an expected call of Goa.

func (*MockServiceMockRecorder) SetOriginalID added in v0.19.3

func (mr *MockServiceMockRecorder) SetOriginalID(arg0, arg1, arg2 interface{}) *ServiceSetOriginalIDCall

SetOriginalID indicates an expected call of SetOriginalID.

func (*MockServiceMockRecorder) SetStatus added in v0.19.0

func (mr *MockServiceMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *ServiceSetStatusCall

SetStatus indicates an expected call of SetStatus.

func (*MockServiceMockRecorder) SetStatusInProgress added in v0.19.0

func (mr *MockServiceMockRecorder) SetStatusInProgress(arg0, arg1, arg2 interface{}) *ServiceSetStatusInProgressCall

SetStatusInProgress indicates an expected call of SetStatusInProgress.

func (*MockServiceMockRecorder) SetStatusPending added in v0.22.0

func (mr *MockServiceMockRecorder) SetStatusPending(arg0, arg1, arg2 interface{}) *ServiceSetStatusPendingCall

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{}) *ServiceUpdateWorkflowStatusCall

UpdateWorkflowStatus indicates an expected call of UpdateWorkflowStatus.

type ServiceCheckDuplicateCall added in v0.41.0

type ServiceCheckDuplicateCall struct {
	*gomock.Call
}

ServiceCheckDuplicateCall wrap *gomock.Call

func (*ServiceCheckDuplicateCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceCheckDuplicateCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceCheckDuplicateCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type ServiceCreateCall added in v0.41.0

type ServiceCreateCall struct {
	*gomock.Call
}

ServiceCreateCall wrap *gomock.Call

func (*ServiceCreateCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceCreateCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceCreateCall) Return added in v0.41.0

func (c *ServiceCreateCall) Return(arg0 error) *ServiceCreateCall

Return rewrite *gomock.Call.Return

type ServiceGoaCall added in v0.41.0

type ServiceGoaCall struct {
	*gomock.Call
}

ServiceGoaCall wrap *gomock.Call

func (*ServiceGoaCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceGoaCall) DoAndReturn added in v0.41.0

func (c *ServiceGoaCall) DoAndReturn(f func() collection.Service) *ServiceGoaCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceGoaCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type ServiceSetOriginalIDCall added in v0.41.0

type ServiceSetOriginalIDCall struct {
	*gomock.Call
}

ServiceSetOriginalIDCall wrap *gomock.Call

func (*ServiceSetOriginalIDCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceSetOriginalIDCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceSetOriginalIDCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type ServiceSetStatusCall added in v0.41.0

type ServiceSetStatusCall struct {
	*gomock.Call
}

ServiceSetStatusCall wrap *gomock.Call

func (*ServiceSetStatusCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceSetStatusCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceSetStatusCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type ServiceSetStatusInProgressCall added in v0.41.0

type ServiceSetStatusInProgressCall struct {
	*gomock.Call
}

ServiceSetStatusInProgressCall wrap *gomock.Call

func (*ServiceSetStatusInProgressCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceSetStatusInProgressCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceSetStatusInProgressCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type ServiceSetStatusPendingCall added in v0.41.0

type ServiceSetStatusPendingCall struct {
	*gomock.Call
}

ServiceSetStatusPendingCall wrap *gomock.Call

func (*ServiceSetStatusPendingCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceSetStatusPendingCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceSetStatusPendingCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type ServiceUpdateWorkflowStatusCall added in v0.41.0

type ServiceUpdateWorkflowStatusCall struct {
	*gomock.Call
}

ServiceUpdateWorkflowStatusCall wrap *gomock.Call

func (*ServiceUpdateWorkflowStatusCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*ServiceUpdateWorkflowStatusCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ServiceUpdateWorkflowStatusCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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