s3

package
v0.0.0-...-d8ab2fd Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 17 Imported by: 10

Documentation

Index

Constants

View Source
const (
	KIND = "s3"
)
View Source
const (
	VirtualHostedStyle = "VIRTUAL_HOSTED_STYLE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupStoreDriver

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

func (*BackupStoreDriver) Download

func (s *BackupStoreDriver) Download(src, dst string) error

func (*BackupStoreDriver) FileExists

func (s *BackupStoreDriver) FileExists(filePath string) bool

func (*BackupStoreDriver) FileSize

func (s *BackupStoreDriver) FileSize(filePath string) int64

func (*BackupStoreDriver) FileTime

func (s *BackupStoreDriver) FileTime(filePath string) time.Time

func (*BackupStoreDriver) GetURL

func (s *BackupStoreDriver) GetURL() string

func (*BackupStoreDriver) Kind

func (s *BackupStoreDriver) Kind() string

func (*BackupStoreDriver) List

func (s *BackupStoreDriver) List(listPath string) ([]string, error)

func (*BackupStoreDriver) Read

func (s *BackupStoreDriver) Read(src string) (io.ReadCloser, error)

func (*BackupStoreDriver) Remove

func (s *BackupStoreDriver) Remove(path string) error

func (*BackupStoreDriver) Upload

func (s *BackupStoreDriver) Upload(src, dst string) error

func (*BackupStoreDriver) Write

func (s *BackupStoreDriver) Write(dst string, rs io.ReadSeeker) error

Jump to

Keyboard shortcuts

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