hostedshell

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const InstallMethod = "hosted-shell"

Variables

This section is empty.

Functions

func DefaultVersionResolverConfig

func DefaultVersionResolverConfig(installParams any) (string, any, error)

func IsInstallMethod

func IsInstallMethod(method string) bool

Types

type Installer

type Installer struct {
	// contains filtered or unexported fields
}

func NewInstaller

func NewInstaller(cfg InstallerParameters) Installer

func (Installer) InstallTo

func (i Installer) InstallTo(version, destDir string) (string, error)

type InstallerParameters

type InstallerParameters struct {
	URL  string `json:"url" yaml:"url" mapstructure:"url"`
	Args string `json:"args" yaml:"args" mapstructure:"args"`
}

Jump to

Keyboard shortcuts

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