getter

package
v0.0.0-...-bd4c8a3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetter

func NewGetter(stoic stoic.Stoic, tool stoic.Tool) (tool.Getter, error)

Types

type Branch

type Branch string

func (Branch) IsValid

func (b Branch) IsValid() bool

type Getter

type Getter struct {
	Options
	// contains filtered or unexported fields
}

func (Getter) CheckoutTo

func (gg Getter) CheckoutTo(version tool.Version, path string) error

func (Getter) FetchLatest

func (gg Getter) FetchLatest() (tool.Version, error)

func (Getter) FetchVersion

func (gg Getter) FetchVersion(pinVersion tool.Version) error

type Options

type Options struct {
	URL    *url.URL
	Branch Branch
}

Jump to

Keyboard shortcuts

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