binaries

package
v1.3.936 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const EksctlVersion = "0.1.19"
View Source
const HeptioAuthenticatorAwsVersion = "1.10.3"
View Source
const IBMCloudVersion = "0.10.1"
View Source
const KubectlVersion = "1.13.2"

Variables

This section is empty.

Functions

func BinaryWithExtension

func BinaryWithExtension(binary string) string

func DownloadFile

func DownloadFile(clientURL string, fullPath string) error

DownloadFile downloads binary content of given URL into local filesystem.

func InstalledPackagesFile added in v1.3.824

func InstalledPackagesFile() (string, error)

InstalledPackagesFile returns absolute path to binaries.yml file used to store version of installed packages.

func IsBinaryWithProperVersionInstalled added in v1.3.824

func IsBinaryWithProperVersionInstalled(binary string, expectedVersion string, versionExtractor VersionExtractor) (bool, error)

func LoadInstalledPackages added in v1.3.824

func LoadInstalledPackages() (map[string]string, error)

func LookupForBinary

func LookupForBinary(binary string) (string, error)

func RememberInstalledPackage added in v1.3.824

func RememberInstalledPackage(packageName string, version string) error

Types

type VersionExtractor

type VersionExtractor interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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