install

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPermissionDenied = errors.New("permission denied")

Functions

func FetchLatestReleaseBinaries

func FetchLatestReleaseBinaries(githubRepoSlug string, binaries []string) (map[string][]byte, error)

Types

type InstallResult

type InstallResult struct {
	Location PathCandidate
	Binary   string
}

func InstallBinariesFromGithubRelease

func InstallBinariesFromGithubRelease(targetDest ssh.Destination, repoURL string, binaryNames []string) ([]InstallResult, error)

type PathCandidate

type PathCandidate struct {
	Path   string
	OnPath bool
}

func FindPathDirs

func FindPathDirs(targetDest ssh.Destination) ([]PathCandidate, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL