Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidProvider = errors.New("invalid provider")
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
// Fetch returns the file metadata to retrieve a specific binary given
// for a provider
Fetch(*FetchOpts) (*File, error)
// GetLatestVersion returns the version and the URL of the
// latest version for this binary
GetLatestVersion() (string, string, error)
// GetID returns the unique identiifer of this provider
GetID() string
}
Click to show internal directories.
Click to hide internal directories.