install_bin

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "install-bin",
	Short: "Install preconfigured binary tool like Terraform, Vault, ...",
	Aliases: []string{
		"ib",

		"install-bin-tool",
		"ibt",
	},
}
View Source
var CmdFlagArch string
View Source
var CmdFlagBinDir string
View Source
var CmdFlagOS string
View Source
var FlagVerbose bool
View Source
var FlagVersion string
View Source
var Tools = []Tool{}/* 103 elements not displayed */

Functions

func InstallBinForExternalGoUse

func InstallBinForExternalGoUse(name string, version string, os string, arch string, binDir string)

Types

type Tool

type Tool struct {
	Name             string
	Aliases          []string
	SourcePath       string
	GetVersionFunc   func() string
	GetOsFunc        func(string) string
	GetArchFunc      func(string) string
	RunBeforeInstall func(string, string, string, string, string) error // name, version, os, arch, binDir
	UrlTemplate      string
	DisableOs        []string
}

Jump to

Keyboard shortcuts

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