supervisor

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketBasics added in v0.0.6

type BucketBasics struct {
	S3Client S3Client
}

type Reflector

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

type S3Client added in v0.0.6

type S3Client interface {
	manager.UploadAPIClient
}

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