get

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: BSD-3-Clause Imports: 11 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 interface {
	Download(module coordinates.SerialModule) error
}

func New

func New(
	zipClient zips.Client,
	resolver upstream.Resolver,
	store store.ZipStore,
	index store.Index,
	emitter stats.Sender,
) Downloader

type Ranges

type Ranges = coordinates.RangeIDs

Range is an alias of coordinates.RangeIDs for brevity.

type RegistryAPI

type RegistryAPI interface {
	ModulesNeeded(Ranges) ([]coordinates.SerialModule, error)
}

RegistryAPI is used to issue API request from the registry

func NewRegistryAPI

func NewRegistryAPI(
	registryClient registry.Client,
	index store.Index,
) RegistryAPI

Directories

Path Synopsis
Package gettest contains autogenerated mocks.
Package gettest contains autogenerated mocks.

Jump to

Keyboard shortcuts

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