Documentation
¶
Index ¶
Constants ¶
View Source
const ( MODE_FULL = "full" MODE_INCREMENT = "increment" StateBackuping = "backuping" StateRecovering = "recovering" StateFree = "free" )
View Source
const (
APP_ROOT = "/lain/app"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackupStats ¶
type BackupStats struct {
// contains filtered or unexported fields
}
func (*BackupStats) Free ¶
func (b *BackupStats) Free(path string)
func (*BackupStats) Set ¶
func (b *BackupStats) Set(path, stat string) error
type Entity ¶
type Entity struct {
Mode string `json:"mode"`
Source string `json:"source"`
Volume string `json:"volume"`
Name string `json:"name"`
Server string `json:"server"`
Size uint64 `json:"size"`
Created time.Time `json:"created"`
Containers []string `json:"containers"`
InstanceNo int `json:"instanceNo"`
// contains filtered or unexported fields
}
A Entity is a backup
func (*Entity) IncrementBackup ¶
func (*Entity) IncrementRecover ¶
type Meta ¶
func (*Meta) LoadFromBackend ¶
Click to show internal directories.
Click to hide internal directories.