mock_services

package
v0.0.0-...-8ad1ab3 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEmailService

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

MockEmailService is a mock of EmailService interface.

func NewMockEmailService

func NewMockEmailService(ctrl *gomock.Controller) *MockEmailService

NewMockEmailService creates a new mock instance.

func (*MockEmailService) EXPECT

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

func (*MockEmailService) Send

func (m *MockEmailService) Send(arg0, arg1, arg2 string) error

Send mocks base method.

type MockEmailServiceMockRecorder

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

MockEmailServiceMockRecorder is the mock recorder for MockEmailService.

func (*MockEmailServiceMockRecorder) Send

func (mr *MockEmailServiceMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call

Send indicates an expected call of Send.

type MockFileStorageService

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

MockFileStorageService is a mock of FileStorageService interface.

func NewMockFileStorageService

func NewMockFileStorageService(ctrl *gomock.Controller) *MockFileStorageService

NewMockFileStorageService creates a new mock instance.

func (*MockFileStorageService) CreateStub

CreateStub mocks base method.

func (*MockFileStorageService) EXPECT

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

func (*MockFileStorageService) GetData

func (m *MockFileStorageService) GetData(arg0 string) (*os.File, string, error)

GetData mocks base method.

func (*MockFileStorageService) RemoveFile

func (m *MockFileStorageService) RemoveFile(arg0 database.FileMetadata) error

RemoveFile mocks base method.

func (*MockFileStorageService) RemoveMetadata

func (m *MockFileStorageService) RemoveMetadata(arg0 database.FileMetadata) error

RemoveMetadata mocks base method.

func (*MockFileStorageService) Upload

Upload mocks base method.

type MockFileStorageServiceMockRecorder

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

MockFileStorageServiceMockRecorder is the mock recorder for MockFileStorageService.

func (*MockFileStorageServiceMockRecorder) CreateStub

func (mr *MockFileStorageServiceMockRecorder) CreateStub(arg0 interface{}) *gomock.Call

CreateStub indicates an expected call of CreateStub.

func (*MockFileStorageServiceMockRecorder) GetData

func (mr *MockFileStorageServiceMockRecorder) GetData(arg0 interface{}) *gomock.Call

GetData indicates an expected call of GetData.

func (*MockFileStorageServiceMockRecorder) RemoveFile

func (mr *MockFileStorageServiceMockRecorder) RemoveFile(arg0 interface{}) *gomock.Call

RemoveFile indicates an expected call of RemoveFile.

func (*MockFileStorageServiceMockRecorder) RemoveMetadata

func (mr *MockFileStorageServiceMockRecorder) RemoveMetadata(arg0 interface{}) *gomock.Call

RemoveMetadata indicates an expected call of RemoveMetadata.

func (*MockFileStorageServiceMockRecorder) Upload

func (mr *MockFileStorageServiceMockRecorder) Upload(arg0, arg1, arg2 interface{}) *gomock.Call

Upload indicates an expected call of Upload.

type MockTokenService

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

MockTokenService is a mock of TokenService interface.

func NewMockTokenService

func NewMockTokenService(ctrl *gomock.Controller) *MockTokenService

NewMockTokenService creates a new mock instance.

func (*MockTokenService) Check

func (m *MockTokenService) Check(arg0, arg1 string) (*database.Token, error)

Check mocks base method.

func (*MockTokenService) Create

Create mocks base method.

func (*MockTokenService) EXPECT

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

func (*MockTokenService) Invalidate

func (m *MockTokenService) Invalidate(arg0 *database.Token) (*database.Token, error)

Invalidate mocks base method.

func (*MockTokenService) WithTransaction

func (m *MockTokenService) WithTransaction(arg0 database.GormDB) (services.TokenService, error)

WithTransaction mocks base method.

type MockTokenServiceMockRecorder

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

MockTokenServiceMockRecorder is the mock recorder for MockTokenService.

func (*MockTokenServiceMockRecorder) Check

func (mr *MockTokenServiceMockRecorder) Check(arg0, arg1 interface{}) *gomock.Call

Check indicates an expected call of Check.

func (*MockTokenServiceMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockTokenServiceMockRecorder) Invalidate

func (mr *MockTokenServiceMockRecorder) Invalidate(arg0 interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate.

func (*MockTokenServiceMockRecorder) WithTransaction

func (mr *MockTokenServiceMockRecorder) WithTransaction(arg0 interface{}) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

Jump to

Keyboard shortcuts

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