Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStorageClient ¶
type CloudStorageClient interface {
ListBuckets() ([]interface{}, error)
ListObjects(prefix string) ([]string, error)
Exist(path string) (bool, error)
Delete(path string) (bool, error)
Upload(src, target string) (bool, error)
Download(src, target string) (bool, error)
Size(path string) (int64, error)
}
func NewCloudStorageClient ¶
func NewCloudStorageClient(backupType string, vars map[string]interface{}) (CloudStorageClient, error)
Click to show internal directories.
Click to hide internal directories.