artifetcher

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package artifetcher downloads the artifact given a URL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifetcher

type Artifetcher struct {
	FileSystem *afero.Afero
	Extractor  I.Extractor
	Log        *logging.Logger
}

Artifetcher fetches artifacts within a file system with an Extractor.

func (*Artifetcher) Fetch

func (a *Artifetcher) Fetch(url, manifest string) (string, error)

Fetch downloads an artifact located at URL. It then passes it to the extractor with the manifest for unzipping.

Returns a string to the unzipped artifacts path and an error.

Directories

Path Synopsis
Package extractor unzips artifacts.
Package extractor unzips artifacts.

Jump to

Keyboard shortcuts

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