usecases

package
v0.0.0-...-8b849f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GcpInteractor

type GcpInteractor struct {
	SourceBucketRepository domain.BucketRepository
	SinkBucketRepository   domain.BucketRepository
}

func (*GcpInteractor) DownloadFile

func (interactor *GcpInteractor) DownloadFile(fileName string) (success bool, err error)

func (*GcpInteractor) ListSinkBuckets

func (interactor *GcpInteractor) ListSinkBuckets(projectId string) (buckets []domain.Bucket, err error)

func (*GcpInteractor) ListSourceBuckets

func (interactor *GcpInteractor) ListSourceBuckets(projectId string) (buckets []domain.Bucket, err error)

func (*GcpInteractor) SourceFileExists

func (interactor *GcpInteractor) SourceFileExists(fileName string) (fileExists bool, err error)

func (*GcpInteractor) UploadFile

func (interactor *GcpInteractor) UploadFile(fileName string) (success bool, err error)

type LocalInteractor

type LocalInteractor struct {
	LocalRepository domain.LocalRepository
}

func (*LocalInteractor) LocalFileExists

func (interactor *LocalInteractor) LocalFileExists(fileName string) (fileExists bool, err error)

Jump to

Keyboard shortcuts

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