mocks

package
v0.0.0-...-1e80c8a Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileContentService

type FileContentService struct {
	mock.Mock
}

FileContentService is an autogenerated mock type for the FileContentService type

func (*FileContentService) Download

func (_m *FileContentService) Download(_a0 context.Context, _a1 uuid.UUID) ([]byte, *model.DBFile, error)

Download provides a mock function with given fields: _a0, _a1

func (*FileContentService) Upload

func (_m *FileContentService) Upload(_a0 context.Context, _a1 uuid.UUID, _a2 []byte) error

Upload provides a mock function with given fields: _a0, _a1, _a2

type FileMetaService

type FileMetaService struct {
	mock.Mock
}

FileMetaService is an autogenerated mock type for the FileMetaService type

func (*FileMetaService) CreateFileMeta

func (_m *FileMetaService) CreateFileMeta(_a0 context.Context, _a1 *model.File) (*model.File, error)

CreateFileMeta provides a mock function with given fields: _a0, _a1

func (*FileMetaService) DeleteFileMeta

func (_m *FileMetaService) DeleteFileMeta(_a0 context.Context, _a1 uuid.UUID) error

DeleteFileMeta provides a mock function with given fields: _a0, _a1

func (*FileMetaService) GetFileMeta

func (_m *FileMetaService) GetFileMeta(_a0 context.Context, _a1 uuid.UUID) (*model.File, error)

GetFileMeta provides a mock function with given fields: _a0, _a1

func (*FileMetaService) UpdateFileMeta

func (_m *FileMetaService) UpdateFileMeta(_a0 context.Context, _a1 *model.File) (*model.File, error)

UpdateFileMeta provides a mock function with given fields: _a0, _a1

type UserService

type UserService struct {
	mock.Mock
}

UserService is an autogenerated mock type for the UserService type

func (*UserService) CreateUser

func (_m *UserService) CreateUser(_a0 context.Context, _a1 *model.User) (*model.User, error)

CreateUser provides a mock function with given fields: _a0, _a1

func (*UserService) DeleteUser

func (_m *UserService) DeleteUser(_a0 context.Context, _a1 uuid.UUID) error

DeleteUser provides a mock function with given fields: _a0, _a1

func (*UserService) GetUser

func (_m *UserService) GetUser(_a0 context.Context, _a1 uuid.UUID) (*model.User, error)

GetUser provides a mock function with given fields: _a0, _a1

func (*UserService) UpdateUser

func (_m *UserService) UpdateUser(_a0 context.Context, _a1 *model.User) (*model.User, error)

UpdateUser provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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