Documentation
¶
Index ¶
Constants ¶
View Source
const (
GithubLatestURL = "https://github.com/%s/releases/latest"
)
Variables ¶
This section is empty.
Functions ¶
func GetBinaryPath ¶
func GetBinaryPath() string
func GetGitRootDirectory ¶
func GithubLatest ¶
Types ¶
type Binary ¶
type Binary struct { Context context.Context // for installation URL string URLF Callback GitHubRepo string GitHubFile string GitHubFileF Callback Version string VersionF Callback VersionLocalF Callback Name string File string IsTarGz bool TarFile string TarFileF Callback Tracker *progress.Tracker // for execution Envs map[string]string }
func (*Binary) BinaryExists ¶
func (*Binary) BinaryPath ¶
func (*Binary) EnsureBinary ¶
func (*Binary) LocalBinary ¶
func (b *Binary) LocalBinary() *LocalBinary
type IsBinary ¶
type IsBinary interface { EnsureBinary(bool) error LocalBinary() *LocalBinary }
Click to show internal directories.
Click to hide internal directories.