Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact interface { Save(backup map[string]BucketSnapshot) error Load() (map[string]BucketSnapshot, error) }
type Backuper ¶
type Backuper struct {
// contains filtered or unexported fields
}
func NewBackuper ¶
type BlobVersion ¶
type BucketSnapshot ¶
type BucketSnapshot struct { BucketName string `json:"bucket_name"` RegionName string `json:"region_name"` Versions []BlobVersion `json:"versions"` }
type FileArtifact ¶
type FileArtifact struct {
// contains filtered or unexported fields
}
func NewFileArtifact ¶
func NewFileArtifact(filePath string) FileArtifact
func (FileArtifact) Load ¶
func (a FileArtifact) Load() (map[string]BucketSnapshot, error)
func (FileArtifact) Save ¶
func (a FileArtifact) Save(backup map[string]BucketSnapshot) error
Click to show internal directories.
Click to hide internal directories.