estuary

package
v0.3.27 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

type Downloader struct {
	// contains filtered or unexported fields
}

Estuary downloader uses HTTP downloader to download result published to Estuary by combining Estuary gateway URL and CID returned by Estuary publisher and passing it for download.

func NewEstuaryDownloader

func NewEstuaryDownloader(cm *system.CleanupManager, settings *model.DownloaderSettings) *Downloader

func (*Downloader) FetchResult

func (downloader *Downloader) FetchResult(ctx context.Context, result model.PublishedResult, downloadPath string) error

func (*Downloader) IsInstalled

func (downloader *Downloader) IsInstalled(ctx context.Context) (bool, error)

Jump to

Keyboard shortcuts

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