aws_s3

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DirectoryErr = fmt.Errorf("path is not a directory path")

Functions

This section is empty.

Types

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

func NewUploader

func NewUploader(s3Region, s3Bucket string, s3Client *s3.Client) (*Uploader, error)

func (*Uploader) UploadDirectory

func (u *Uploader) UploadDirectory(directoryPath string, logsWriter io.Writer) error

func (*Uploader) UploadFile

func (u *Uploader) UploadFile(inputFilePath, outputS3ObjectKey string, abortUploadSignal chan interface{}) <-chan uploadFileDoneDTO

Jump to

Keyboard shortcuts

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