Documentation
¶
Index ¶
- Constants
- type BackupStoreDriver
- func (s *BackupStoreDriver) Download(src, dst string) error
- func (s *BackupStoreDriver) FileExists(filePath string) bool
- func (s *BackupStoreDriver) FileSize(filePath string) int64
- func (s *BackupStoreDriver) FileTime(filePath string) time.Time
- func (s *BackupStoreDriver) GetURL() string
- func (s *BackupStoreDriver) Kind() string
- func (s *BackupStoreDriver) List(listPath string) ([]string, error)
- func (s *BackupStoreDriver) Read(src string) (io.ReadCloser, error)
- func (s *BackupStoreDriver) Remove(path string) error
- func (s *BackupStoreDriver) Upload(src, dst string) error
- func (s *BackupStoreDriver) Write(dst string, rs io.ReadSeeker) error
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
Click to show internal directories.
Click to hide internal directories.