Documentation ¶
Index ¶
- func ExecuteRetentionPolicy(storage LocalStorageRequirements, retention_days int) error
- func PullBackup(storage LocalStorageRequirements, backup_name string, useCompression bool) (*bytes.Buffer, error)
- func StoreBackup(storage LocalStorageRequirements, buffer *bytes.Buffer, useCompression bool) error
- type LocalStorageRequirements
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteRetentionPolicy ¶
func ExecuteRetentionPolicy(storage LocalStorageRequirements, retention_days int) error
func PullBackup ¶
func StoreBackup ¶
func StoreBackup(storage LocalStorageRequirements, buffer *bytes.Buffer, useCompression bool) error
Types ¶
type LocalStorageRequirements ¶
type LocalStorageRequirements struct {
FolderPath string `json:"folder_path"`
}
Click to show internal directories.
Click to hide internal directories.