restorer

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package restorer provides restorer service

Package restorer provides restorer service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(r *restorer) error

func WithBackoff added in v0.0.43

func WithBackoff(enabled bool) Option

func WithBackoffOpts added in v0.0.41

func WithBackoffOpts(opts ...backoff.Option) Option

func WithBlobStorage

func WithBlobStorage(storage storage.Storage) Option

func WithDir

func WithDir(dir string) Option

func WithErrGroup

func WithErrGroup(eg errgroup.Group) Option

type Restorer

type Restorer interface {
	Start(ctx context.Context) (<-chan error, error)
}

func New

func New(opts ...Option) (Restorer, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL