Documentation ¶
Index ¶
- type Backup
- type ContainerTemplate
- type ContainerTemplates
- type CreateBackupRequest
- type DaemonInput
- type DeleteBackupRequest
- type Filters
- type LocalContainerTemplates
- type NotificationSettings
- type OffsiteContainerTemplates
- type RestoreBackupRequest
- type RotateBackupsRequest
- type TaskArgs
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerTemplate ¶
type ContainerTemplates ¶ added in v0.0.16
type ContainerTemplates struct { Local LocalContainerTemplates Offsite *OffsiteContainerTemplates }
type CreateBackupRequest ¶
type CreateBackupRequest struct { DryRun bool `json:"dry-run"` Args TaskArgs `json:"args"` NotificationSettings *NotificationSettings `json:"notification-settings"` }
func DefaultCreateBackupRequest ¶
func DefaultCreateBackupRequest() *CreateBackupRequest
type DaemonInput ¶ added in v0.0.14
type DaemonInput struct { BackupDir string `json:"backup-dir"` DockerHosts []string `json:"docker-hosts"` LocalContainersConfig string `json:"local-containers-config"` OffsiteContainersConfig string `json:"offsite-containers-config"` UnixSocket string `json:"unix-socket"` TcpAddr string `json:"tcp-addr"` TcpApi bool `json:"tcp-api"` UI bool `json:"ui-enabled"` Metrics bool `json:"metrics-enabled"` }
func DefaultDaemonInput ¶ added in v0.0.14
func DefaultDaemonInput() DaemonInput
type DeleteBackupRequest ¶
type DeleteBackupRequest struct {
Args TaskArgs `json:"args"`
}
func DefaultDeleteBackupRequest ¶
func DefaultDeleteBackupRequest() *DeleteBackupRequest
type LocalContainerTemplates ¶
type LocalContainerTemplates struct { Backup ContainerTemplate `yaml:"backup"` Restore ContainerTemplate `yaml:"restore"` FileExt string `yaml:"file-ext"` }
type NotificationSettings ¶
type NotificationSettings struct { NotificationUrls []string `json:"notification-urls"` NotifyJobStarted bool `json:"notify-job-started"` NotifyJobCompleted bool `json:"notify-job-completed"` NotifyJobError bool `json:"notify-job-error"` NotifyTaskStarted bool `json:"notify-task-started"` NotifyTaskCompleted bool `json:"notify-task-completed"` NotifyTaskError bool `json:"notify-task-error"` }
func DefaultNotificationSettings ¶
func DefaultNotificationSettings() *NotificationSettings
type OffsiteContainerTemplates ¶
type OffsiteContainerTemplates struct { OffsitePush ContainerTemplate `yaml:"offsite-push"` OffsitePull ContainerTemplate `yaml:"offsite-pull"` }
type RestoreBackupRequest ¶
type RestoreBackupRequest struct { DryRun bool `json:"dry-run"` Args TaskArgs `json:"args"` NotificationSettings *NotificationSettings `json:"notification-settings"` }
func DefaultRestoreBackupRequest ¶
func DefaultRestoreBackupRequest() *RestoreBackupRequest
type RotateBackupsRequest ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.