supervisor

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reflector

type Reflector interface {
	Start(ctx context.Context) error
	Close() error
}

type S3Uploader

type S3Uploader interface {
	s3manageriface.UploaderAPI
}

type Supervisor

type Supervisor interface {
	Start(ctx context.Context)
	io.Closer
}

func SupervisorFromConfig

func SupervisorFromConfig(config SupervisorConfig) (Supervisor, error)

type SupervisorConfig

type SupervisorConfig struct {
	SnapshotInterval time.Duration
	SnapshotURL      string
	LDBPath          string
	Reflector        Reflector
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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