archiver

package
v1.13.0-preview-1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	jobsDB jobsdb.JobsDB,
	storageProvider fileuploader.Provider,
	c configGetter,
	statHandle stats.Stats,
	opts ...Option,
) *archiver

Types

type Option

type Option func(*archiver)

func WithAdaptiveLimit

func WithAdaptiveLimit(limiter payload.AdaptiveLimiterFunc) Option

func WithArchiveFrom

func WithArchiveFrom(archiveFrom string) Option

func WithArchiveTrigger

func WithArchiveTrigger(trigger func() <-chan time.Time) Option

Jump to

Keyboard shortcuts

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