repo

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrLimitExceeded signals that github.com refused to serve the request due to exceeded quota
	ErrLimitExceeded = errors.New("github limit exceeded")
)

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	Fetch() (string, error)
	Clear() error
}

Fetcher is interface used for fetching sources from VCS or Services

func NewGenericFetcher

func NewGenericFetcher(fs afero.Fs, repoURI, version string) (Fetcher, error)

NewGenericFetcher creates fetcher which uses go get tool to fetch sources returns path of directory containing vx.y.z.(zip|info|mod)

Directories

Path Synopsis
Package github is working version only We need to (re-)consider - multiple go.mod files in one repo e.g (owner/repo/cli/go.mod owner/repo/web/go.mod) - v2 (or any other vX) folder - something else which I cannot think of right now because I had too many cakes today
Package github is working version only We need to (re-)consider - multiple go.mod files in one repo e.g (owner/repo/cli/go.mod owner/repo/web/go.mod) - v2 (or any other vX) folder - something else which I cannot think of right now because I had too many cakes today

Jump to

Keyboard shortcuts

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