blob

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob interface {
	Open() (io.ReadCloser, error)
}

func NewBlob

func NewBlob(path string) Blob

type Downloader

type Downloader interface {
	Download(ctx context.Context, pathOrURI string) (Blob, error)
}

func NewDownloader

func NewDownloader(logger Logger, baseCacheDir string) Downloader

type Logger

type Logger interface {
	Debugf(fmt string, v ...interface{})
	Infof(fmt string, v ...interface{})
	Writer() io.Writer
}

Jump to

Keyboard shortcuts

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