Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoUpgrade = errors.New("requested release is not more recent than current version")
Functions ¶
func SetVerbose ¶
func VerboseEnabledForTest ¶
func VerboseEnabledForTest() bool
Types ¶
type AssetFinder ¶
type AssetFinder struct {
Repo string
Tag string
Prerelease bool
MinTime time.Time
Getter HTTPGetter
}
func NewAssetFinder ¶
func NewAssetFinder(repo, tag string, prerelease bool, minTime time.Time) *AssetFinder
func (*AssetFinder) Find ¶
func (f *AssetFinder) Find() ([]string, error)
func (*AssetFinder) FindMatch ¶
func (f *AssetFinder) FindMatch() ([]string, error)
type SourceFinder ¶
func NewSourceFinder ¶
func NewSourceFinder(repo, tag, tool string) *SourceFinder
func (*SourceFinder) Find ¶
func (f *SourceFinder) Find() ([]string, error)
Click to show internal directories.
Click to hide internal directories.