Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoValidBackups = errors.New("no valid backups")
Functions ¶
Types ¶
type InfoBackup ¶
type InfoOutput ¶
type InfoOutput []InfoStanza
type InfoStanza ¶
type InfoStanza struct {
Name string `json:"name,omitempty"`
Backup []InfoBackup `json:"backup,omitempty"`
Status struct {
Message string `json:"message,omitempty"`
Code float64 `json:"code,omitempty"`
Lock struct {
Backup struct {
Held bool `json:"held,omitempty"`
} `json:"backup,omitempty"`
} `json:"lock,omitempty"`
} `json:"status,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.