Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadUseCase ¶
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 ¶
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 ¶
func (_m *ListFilesUseCase) Execute(_a0 context.Context, _a1 *ftp.ListFilesRepos, _a2 *ftp.ListFilesInput) ([]*entities.Entry, error)
Execute provides a mock function with given fields: _a0, _a1, _a2
type MkdirUseCase ¶
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 ¶
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.
type RemoveUseCase ¶
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 ¶
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 ¶
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 ¶
func (_m *UploadFileUseCase) Execute(_a0 context.Context, _a1 *ftp.UploadFileRepos, _a2 *ftp.UploadFileInput) error
Execute provides a mock function with given fields: _a0, _a1, _a2