Documentation ¶
Index ¶
- type FSClient
- func (fsClient *FSClient) ApplySyncPlan(colonyID string, syncPlan *SyncPlan) error
- func (fsClient *FSClient) CalcSyncPlan(dir string, label string, keepLocal bool) (*SyncPlan, error)
- func (fsClient *FSClient) Download(colonyID string, fileID string, downloadDir string) error
- func (fsClient *FSClient) DownloadSnapshot(snapshotID string, downloadDir string) error
- func (fsClient *FSClient) RemoveAllFilesWithLabel(label string) error
- func (fsClient *FSClient) RemoveFileByID(colonyID string, fileID string) error
- func (fsClient *FSClient) RemoveFileByName(colonyID string, label string, name string) error
- type FileInfo
- type S3Client
- func (s3Client *S3Client) Download(filename string, s3Filename string, downloadDir string) error
- func (s3Client *S3Client) Exists(filename string) bool
- func (s3Client *S3Client) Remove(filename string) error
- func (s3Client *S3Client) Upload(dir string, filename string, s3Filename string, filelength int64) error
- type SyncPlan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSClient ¶
type FSClient struct {
// contains filtered or unexported fields
}
func CreateFSClient ¶
func (*FSClient) ApplySyncPlan ¶
func (*FSClient) CalcSyncPlan ¶
func (*FSClient) DownloadSnapshot ¶
func (*FSClient) RemoveAllFilesWithLabel ¶
func (*FSClient) RemoveFileByID ¶
Click to show internal directories.
Click to hide internal directories.