Documentation
¶
Index ¶
- func AssetName(component Component, goos, goarch string) (string, error)
- func CacheDir(version string) (string, error)
- func CurrentAssetName(component Component) (string, error)
- func DefaultBinDir() (string, error)
- func InstalledName(component Component) string
- func ParseChecksums(r io.Reader) (map[string]string, error)
- type Asset
- type Client
- type Component
- type InstallResult
- type Release
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentAssetName ¶
func DefaultBinDir ¶
func InstalledName ¶
Types ¶
type Client ¶
type Client struct {
APIBase string
Owner string
Repository string
Token string
HTTPClient *http.Client
}
func NewClientFromEnv ¶
type InstallResult ¶
Click to show internal directories.
Click to hide internal directories.