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 FileContentRepo

type FileContentRepo struct {
	mock.Mock
}

FileContentRepo is an autogenerated mock type for the FileContentRepo type

func (*FileContentRepo) Download

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

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

func (*FileContentRepo) Upload

func (_m *FileContentRepo) Upload(_a0 context.Context, _a1 *model.DBFile, _a2 []byte) error

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

type FileMetaRepo

type FileMetaRepo struct {
	mock.Mock
}

FileMetaRepo is an autogenerated mock type for the FileMetaRepo type

func (*FileMetaRepo) CreateFileMeta

func (_m *FileMetaRepo) CreateFileMeta(_a0 context.Context, _a1 *model.DBFile) (*model.DBFile, error)

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

func (*FileMetaRepo) DeleteFileMeta

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

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

func (*FileMetaRepo) GetFileMeta

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

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

func (*FileMetaRepo) UpdateFileMeta

func (_m *FileMetaRepo) UpdateFileMeta(_a0 context.Context, _a1 *model.DBFile) (*model.DBFile, error)

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

type UserRepo

type UserRepo struct {
	mock.Mock
}

UserRepo is an autogenerated mock type for the UserRepo type

func (*UserRepo) CreateUser

func (_m *UserRepo) CreateUser(_a0 context.Context, _a1 *model.DBUser) (*model.DBUser, error)

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

func (*UserRepo) DeleteUser

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

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

func (*UserRepo) GetUser

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

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

func (*UserRepo) UpdateUser

func (_m *UserRepo) UpdateUser(_a0 context.Context, _a1 *model.DBUser) (*model.DBUser, 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