fetcher

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(client *http.Client, _ indexer.LayerFetchOpt) *fetcher

New creates a new indexer.Fetcher which downloads layers to temporary files. If a nil *http.Client is provided, the default client will be used.

Fetcher is safe to share concurrently.

The provided LayerFetchOpt is currently ignored.

Types

This section is empty.

Notes

Bugs

  • The Close method only captures the last error.

Jump to

Keyboard shortcuts

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