blob

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: Apache-2.0 Imports: 17 Imported by: 2

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