Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Github ¶ added in v0.2.0
type Github struct {
// contains filtered or unexported fields
}
func NewGithubWithClient ¶ added in v0.2.0
func (*Github) LatestRelease ¶ added in v0.2.0
func (g *Github) LatestRelease(plateform string) (*GithubReleaseItem, error)
LatestRelease get latest release url for a specific `platform`
type GithubReleaseItem ¶ added in v0.2.0
type GithubReleaseList ¶ added in v0.2.0
type GithubReleaseList struct {
TagName string `json:"tag_name"`
Items []GithubReleaseItem `json:"assets"`
}
type PyEnv ¶
type PyEnv struct {
// contains filtered or unexported fields
}
func (*PyEnv) VersionInstalled ¶
type Upgrader ¶ added in v0.2.0
type Upgrader struct {
// contains filtered or unexported fields
}
func NewUpgrader ¶ added in v0.2.0
NewUpgrader returns a new upgrade helper using the default http client
func NewUpgraderWithHTTPClient ¶ added in v0.2.0
NewUpgraderWithHTTPClient returns a new upgrade helper using the provided http client
func (*Upgrader) LatestRelease ¶ added in v0.2.0
func (u *Upgrader) LatestRelease(plateform string) (release *GithubReleaseItem, err error)
LatestRelease get latest release item for current platform
type Virtualenv ¶
type Virtualenv struct {
// contains filtered or unexported fields
}
func NewVirtualenv ¶
func NewVirtualenv(cfg *config.Config, name string) *Virtualenv
func (*Virtualenv) BinPath ¶
func (v *Virtualenv) BinPath() string
func (*Virtualenv) Exists ¶
func (v *Virtualenv) Exists() bool
func (*Virtualenv) Path ¶
func (v *Virtualenv) Path() string
func (*Virtualenv) Which ¶ added in v0.0.7
func (v *Virtualenv) Which(cmd string) string
Click to show internal directories.
Click to hide internal directories.