Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestoreDrillResult ¶
type Service ¶
type Service struct {
App core.App
Config config.Config
Alerts *alerts.Service
Now func() time.Time
}
func NewService ¶
func (*Service) RegisterHooks ¶
func (s *Service) RegisterHooks()
func (*Service) RestoreDrill ¶
func (s *Service) RestoreDrill(ctx context.Context) (RestoreDrillResult, error)
type Status ¶
type Status struct {
Enabled bool `json:"enabled"`
Cron string `json:"cron,omitempty"`
MaxKeep int `json:"maxKeep"`
Offsite bool `json:"offsite"`
BackupCount int `json:"backupCount"`
Latest *FileInfo `json:"latest,omitempty"`
LatestVerified bool `json:"latestVerified"`
VerificationError string `json:"verificationError,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.