types

package
v0.0.0-...-2bbc2ee Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Bin

type Bin struct {
	Binary  string
	Version struct {
		Requirement    string
		Command        *string
		CommandEnvVars *[]string
	}
	Installers  []string
	PostInstall *struct {
		Command string
	}
}

type Bins

type Bins = []Bin

func GetBinsFromConfig

func GetBinsFromConfig() Bins

type Installer

type Installer struct {
	Id              string
	Binary          string
	InstallCommand  string
	InstallTemplate string
	UpdateTemplate  string
}

func GetInstallerFromId

func GetInstallerFromId(installerId string) *Installer

func GetInstallersFromConfig

func GetInstallersFromConfig() []Installer

Jump to

Keyboard shortcuts

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