mocks

package
v0.0.0-...-2b5ea0c Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadUseCase

type DownloadUseCase struct {
	mock.Mock
}

DownloadUseCase is an autogenerated mock type for the DownloadUseCase type

func NewDownloadUseCase

func NewDownloadUseCase(t mockConstructorTestingTNewDownloadUseCase) *DownloadUseCase

NewDownloadUseCase creates a new instance of DownloadUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DownloadUseCase) Execute

func (_m *DownloadUseCase) Execute(_a0 context.Context, _a1 *ftp.DownloadRepos, _a2 *ftp.DownloadInput) error

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

type ListFilesUseCase

type ListFilesUseCase struct {
	mock.Mock
}

ListFilesUseCase is an autogenerated mock type for the ListFilesUseCase type

func NewListFilesUseCase

func NewListFilesUseCase(t mockConstructorTestingTNewListFilesUseCase) *ListFilesUseCase

NewListFilesUseCase creates a new instance of ListFilesUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ListFilesUseCase) Execute

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

type MkdirUseCase

type MkdirUseCase struct {
	mock.Mock
}

MkdirUseCase is an autogenerated mock type for the MkdirUseCase type

func NewMkdirUseCase

func NewMkdirUseCase(t mockConstructorTestingTNewMkdirUseCase) *MkdirUseCase

NewMkdirUseCase creates a new instance of MkdirUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MkdirUseCase) Execute

func (_m *MkdirUseCase) Execute(ctx context.Context, repos *ftp.MkdirRepos, input *ftp.MkdirInput) error

Execute provides a mock function with given fields: ctx, repos, input

type MoveUseCase

type MoveUseCase struct {
	mock.Mock
}

MoveUseCase is an autogenerated mock type for the MoveUseCase type

func NewMoveUseCase

func NewMoveUseCase(t mockConstructorTestingTNewMoveUseCase) *MoveUseCase

NewMoveUseCase creates a new instance of MoveUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MoveUseCase) Execute

func (_m *MoveUseCase) Execute(_a0 context.Context, _a1 *ftp.MoveRepos, _a2 *ftp.MoveInput) error

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

type RemoveUseCase

type RemoveUseCase struct {
	mock.Mock
}

RemoveUseCase is an autogenerated mock type for the RemoveUseCase type

func NewRemoveUseCase

func NewRemoveUseCase(t mockConstructorTestingTNewRemoveUseCase) *RemoveUseCase

NewRemoveUseCase creates a new instance of RemoveUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*RemoveUseCase) Execute

func (_m *RemoveUseCase) Execute(_a0 context.Context, _a1 *ftp.RemoveRepos, _a2 *ftp.RemoveInput) error

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

type StatusUseCase

type StatusUseCase struct {
	mock.Mock
}

StatusUseCase is an autogenerated mock type for the StatusUseCase type

func NewStatusUseCase

func NewStatusUseCase(t mockConstructorTestingTNewStatusUseCase) *StatusUseCase

NewStatusUseCase creates a new instance of StatusUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*StatusUseCase) Execute

func (_m *StatusUseCase) Execute(_a0 context.Context, _a1 *ftp.StatusRepos, _a2 *ftp.StatusInput) (*entities.Status, error)

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

type UploadFileUseCase

type UploadFileUseCase struct {
	mock.Mock
}

UploadFileUseCase is an autogenerated mock type for the UploadFileUseCase type

func NewUploadFileUseCase

func NewUploadFileUseCase(t mockConstructorTestingTNewUploadFileUseCase) *UploadFileUseCase

NewUploadFileUseCase creates a new instance of UploadFileUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*UploadFileUseCase) Execute

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

Jump to

Keyboard shortcuts

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