install

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPermissionDenied = errors.New("permission denied")
	ErrSSHAuthFailed    = errors.New("SSH authentication failed")
)

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(targetHost ssh.Host, repoURL string, binaryNames []string) ([]InstallResult, error)

type PathCandidate

type PathCandidate struct {
	Path   string
	OnPath bool
}

func FindPathDirs

func FindPathDirs(targetHost ssh.Host) ([]PathCandidate, error)

Jump to

Keyboard shortcuts

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