Documentation ¶
Index ¶
- func BackupFailure(service util.Service)
- func BackupInit(service util.Service)
- func BackupQueue(service util.Service)
- func BackupStart(service util.Service)
- func BackupSuccess(service util.Service)
- func RestoreFailure(service util.Service)
- func RestoreInit(service util.Service)
- func RestoreQueue(service util.Service)
- func RestoreStart(service util.Service)
- func RestoreSuccess(service util.Service)
- type State
- type StateTracker
- type States
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupFailure ¶
func BackupInit ¶
func BackupQueue ¶
func BackupStart ¶
func BackupSuccess ¶
func RestoreFailure ¶
func RestoreInit ¶
func RestoreQueue ¶
func RestoreStart ¶
func RestoreSuccess ¶
Types ¶
type State ¶
type State struct { Service util.Service `json:",omitempty"` Operation string `json:",omitempty"` Status string `json:",omitempty"` At time.Time `json:",omitempty"` Duration time.Duration `json:",omitempty"` }
swagger:response state
type StateTracker ¶
func Tracker ¶
func Tracker() *StateTracker
func (*StateTracker) Delete ¶
func (st *StateTracker) Delete(service util.Service)
func (*StateTracker) Get ¶ added in v1.5.0
func (st *StateTracker) Get(service util.Service) (State, bool)
func (*StateTracker) List ¶ added in v1.5.0
func (st *StateTracker) List() []State
Click to show internal directories.
Click to hide internal directories.