Documentation ¶
Index ¶
- type Download
- type DownloadInput
- type DownloadRepos
- type DownloadUseCase
- type ListFiles
- type ListFilesInput
- type ListFilesRepos
- type ListFilesUseCase
- type Mkdir
- type MkdirInput
- type MkdirRepos
- type MkdirUseCase
- type Move
- type MoveInput
- type MoveRepos
- type MoveUseCase
- type Remove
- type RemoveInput
- type RemoveRepos
- type RemoveUseCase
- type Status
- type StatusInput
- type StatusRepos
- type StatusUseCase
- type UploadFile
- type UploadFileInput
- type UploadFileRepos
- type UploadFileUseCase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Download ¶
type Download struct { }
func (*Download) Execute ¶
func (d *Download) Execute(ctx context.Context, repos *DownloadRepos, input *DownloadInput) error
type DownloadInput ¶
type DownloadRepos ¶
type DownloadRepos struct { Logger logging.Logger Connection connection.Connection FileStore repositories.FileStore }
type DownloadUseCase ¶
type DownloadUseCase interface {
Execute(context.Context, *DownloadRepos, *DownloadInput) error
}
type ListFiles ¶
type ListFiles struct { }
func (*ListFiles) Execute ¶
func (u *ListFiles) Execute(ctx context.Context, repos *ListFilesRepos, input *ListFilesInput) ([]*entities.Entry, error)
type ListFilesInput ¶
type ListFilesRepos ¶
type ListFilesRepos struct { Logger logging.Logger Connection connection.Connection }
type ListFilesUseCase ¶
type ListFilesUseCase interface {
Execute(context.Context, *ListFilesRepos, *ListFilesInput) ([]*entities.Entry, error)
}
type Mkdir ¶
type Mkdir struct { }
func (*Mkdir) Execute ¶
func (u *Mkdir) Execute(_ context.Context, repos *MkdirRepos, input *MkdirInput) error
type MkdirInput ¶
type MkdirInput struct {
Path string
}
type MkdirRepos ¶
type MkdirRepos struct { Logger logging.Logger Connection connection.Connection }
type MkdirUseCase ¶
type MkdirUseCase interface {
Execute(ctx context.Context, repos *MkdirRepos, input *MkdirInput) error
}
type MoveRepos ¶
type MoveRepos struct { Logger logging.Logger Connection connection.Connection }
type MoveUseCase ¶
type Remove ¶
type Remove struct { }
func (*Remove) Execute ¶
func (u *Remove) Execute(ctx context.Context, repos *RemoveRepos, input *RemoveInput) error
type RemoveInput ¶
type RemoveInput struct {
Path string
}
type RemoveRepos ¶
type RemoveRepos struct { Logger logging.Logger Connection connection.Connection }
type RemoveUseCase ¶
type RemoveUseCase interface {
Execute(context.Context, *RemoveRepos, *RemoveInput) error
}
type Status ¶
type Status struct { }
func (*Status) Execute ¶
func (u *Status) Execute(_ context.Context, repos *StatusRepos, _ *StatusInput) (*entities.Status, error)
type StatusInput ¶
type StatusInput struct { }
type StatusRepos ¶
type StatusRepos struct { Logger logging.Logger Connection connection.Connection }
type StatusUseCase ¶
type StatusUseCase interface {
Execute(context.Context, *StatusRepos, *StatusInput) (*entities.Status, error)
}
type UploadFile ¶
type UploadFile struct { }
func (*UploadFile) Execute ¶
func (u *UploadFile) Execute(ctx context.Context, repos *UploadFileRepos, input *UploadFileInput) error
type UploadFileInput ¶
type UploadFileRepos ¶
type UploadFileRepos struct { Logger logging.Logger Connection connection.Connection }
type UploadFileUseCase ¶
type UploadFileUseCase interface {
Execute(context.Context, *UploadFileRepos, *UploadFileInput) error
}
Click to show internal directories.
Click to hide internal directories.