s3storage

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Storage

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

func NewS3Storage

func NewS3Storage(region string, endpoint string, bucket string, path string) (*S3Storage, error)

func (*S3Storage) CreateBucket

func (s *S3Storage) CreateBucket(ctx context.Context) error

func (*S3Storage) InitClient

func (s *S3Storage) InitClient() (err error)

func (*S3Storage) SaveFile

func (s *S3Storage) SaveFile(ctx context.Context, archiveFilePath string, dstFilename string) error

Jump to

Keyboard shortcuts

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