mocks

package
v0.0.0-...-6b8b621 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	mock.Mock
}

File is an autogenerated mock type for the File type

func (*File) AsFileOutput

func (_m *File) AsFileOutput() (*domain.FileOutput, error)

AsFileOutput provides a mock function with given fields:

func (*File) DownloadURL

func (_m *File) DownloadURL() (string, error)

DownloadURL provides a mock function with given fields:

func (*File) PublicURL

func (_m *File) PublicURL() string

PublicURL provides a mock function with given fields:

func (*File) UploadURL

func (_m *File) UploadURL() (string, error)

UploadURL provides a mock function with given fields:

type FileRepository

type FileRepository struct {
	mock.Mock
}

FileRepository is an autogenerated mock type for the FileRepository type

func (*FileRepository) FindByURI

func (_m *FileRepository) FindByURI(uri string) domain.File

FindByURI provides a mock function with given fields: uri

type FileService

type FileService struct {
	mock.Mock
}

FileService is an autogenerated mock type for the FileService type

func (*FileService) GetFileURL

func (_m *FileService) GetFileURL(params domain.GenerateFileURLInput) (*domain.FileOutput, error)

GetFileURL provides a mock function with given fields: params

type UserRepository

type UserRepository struct {
	mock.Mock
}

UserRepository is an autogenerated mock type for the UserRepository type

func (*UserRepository) Create

func (_m *UserRepository) Create(params *domain.User) (*domain.User, error)

Create provides a mock function with given fields: params

func (*UserRepository) Destroy

func (_m *UserRepository) Destroy(id int) (*domain.User, error)

Destroy provides a mock function with given fields: id

func (*UserRepository) Find

func (_m *UserRepository) Find(id int) (*domain.User, error)

Find provides a mock function with given fields: id

func (*UserRepository) List

func (_m *UserRepository) List(params domain.UserListInput) ([]*domain.User, error)

List provides a mock function with given fields: params

func (*UserRepository) Update

func (_m *UserRepository) Update(id int, params *domain.User) (*domain.User, error)

Update provides a mock function with given fields: id, params

type UserService

type UserService struct {
	mock.Mock
}

UserService is an autogenerated mock type for the UserService type

func (*UserService) Create

Create provides a mock function with given fields: params

func (*UserService) Destroy

func (_m *UserService) Destroy(id int) (*domain.UserDetailOutput, error)

Destroy provides a mock function with given fields: id

func (*UserService) List

List provides a mock function with given fields: params

func (*UserService) Show

func (_m *UserService) Show(id int) (*domain.UserDetailOutput, error)

Show provides a mock function with given fields: id

func (*UserService) Update

func (_m *UserService) Update(id int, params domain.UserUpdateInput) (*domain.UserDetailOutput, error)

Update provides a mock function with given fields: id, params

Jump to

Keyboard shortcuts

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