Documentation ¶
Index ¶
- func GetPitreos(logger *zap.Logger, backupURL string, appendOnlyFiles ...string) (*pitreos.PITR, error)
- func ListPitreosBackup(logger *zap.Logger, backupTag, backupStoreURL, prefix string, ...) ([]*pitreos.ListableBackup, error)
- type Superviser
- func (s *Superviser) GetLogPlugins() []logplugin.LogPlugin
- func (s *Superviser) IsRunning() bool
- func (s *Superviser) LastExitCode() int
- func (s *Superviser) RegisterLogPlugin(plugin logplugin.LogPlugin)
- func (s *Superviser) RegisterPostRestoreHandler(f func())
- func (s *Superviser) Start(options ...manageos.StartOption) error
- func (s *Superviser) Stop() error
- func (s *Superviser) Stopped() <-chan struct{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPitreos ¶
func ListPitreosBackup ¶
Types ¶
type Superviser ¶
type Superviser struct { Binary string Arguments []string Logger *zap.Logger HandlePostRestore func() // contains filtered or unexported fields }
func (*Superviser) GetLogPlugins ¶
func (s *Superviser) GetLogPlugins() []logplugin.LogPlugin
func (*Superviser) IsRunning ¶
func (s *Superviser) IsRunning() bool
func (*Superviser) LastExitCode ¶
func (s *Superviser) LastExitCode() int
func (*Superviser) RegisterLogPlugin ¶
func (s *Superviser) RegisterLogPlugin(plugin logplugin.LogPlugin)
func (*Superviser) RegisterPostRestoreHandler ¶
func (s *Superviser) RegisterPostRestoreHandler(f func())
RegisterPostRestoreHandler adds a function called after a restore from backup or from snapshot
func (*Superviser) Start ¶
func (s *Superviser) Start(options ...manageos.StartOption) error
func (*Superviser) Stop ¶
func (s *Superviser) Stop() error
func (*Superviser) Stopped ¶
func (s *Superviser) Stopped() <-chan struct{}
Click to show internal directories.
Click to hide internal directories.