sources

package
v0.0.0-...-742b54a Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownDownloader = errors.New("Unknown downloader")

ErrUnknownDownloader represents the unknown downloader error.

Functions

This section is empty.

Types

type Downloader

type Downloader interface {
	Run() error
}

Downloader represents a source downloader.

func Load

func Load(ctx context.Context, downloaderName string, logger *logrus.Logger, definition shared.Definition, rootfsDir string, cacheDir string, sourcesDir string) (Downloader, error)

Load loads and initializes a downloader.

Jump to

Keyboard shortcuts

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