Versions in this module Expand all Collapse all v0 v0.2.0 Feb 13, 2020 Changes in this version + type Destination interface + IsUploaded func(ctx context.Context) (bool, error) + RemotePath func() (string, error) + Upload func(ctx context.Context, source string) error + type GCSDestination struct + BlobName string + Bucket string + func (d *GCSDestination) IsUploaded(ctx context.Context) (bool, error) + func (d *GCSDestination) RemotePath() (string, error) + func (d *GCSDestination) Upload(ctx context.Context, source string) error + type LocalVolumeDestination struct + Path string + func (d *LocalVolumeDestination) IsUploaded(ctx context.Context) (bool, error) + func (d *LocalVolumeDestination) RemotePath() (string, error) + func (d *LocalVolumeDestination) Upload(ctx context.Context, source string) error + type Method interface + Delete func(ctx context.Context, path string) error + IsSaved func(ctx context.Context, path string) (bool, error) + Save func(ctx context.Context, path string) error + type SnapshotMethod struct + Endpoints []string + func (m *SnapshotMethod) Delete(ctx context.Context, path string) error + func (m *SnapshotMethod) IsSaved(ctx context.Context, path string) (bool, error) + func (m *SnapshotMethod) Save(ctx context.Context, path string) error