Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BinaryPackage ¶
type BinaryPackage struct {
URL string
Name string
Selector string
Regexp string
PackageType string `mapstructure:"package_type"`
DownloadURL string `mapstructure:"download_url"`
VersionCommand []string `mapstructure:"version_command"`
VersionRegex string `mapstructure:"version_regex"`
InstallPreCommand string `mapstructure:"install_pre_command"`
InstallCommands []string `mapstructure:"install_commands"`
VersionURL string `mapstructure:"version_url"`
VersionURLRegex string `mapstructure:"version_url_regex"`
GithubRepo string `mapstructure:"github"`
}
BinaryPackage describes how a downloadable package or other binary can be downloaded, version checked and installed
type Config ¶
type Config struct {
BinaryBlobs map[string]BinaryPackage `mapstructure:"binary_blobs"`
}
Click to show internal directories.
Click to hide internal directories.