import "github.com/jenkins-x/jx/pkg/packages"
const EksCtlVersion = "0.25.0"
EksCtlVersion binary version to use
const GlooVersion = "1.3.23"
GlooVersion binary version to use
const Helm2Version = "2.17.0"
Helm2Version binary version to use
const Helm3Version = "3.2.0"
Helm3Version binary version to use
const IBMCloudVersion = "0.10.1"
IBMCloudVersion ibm cloud binary version
const IamAuthenticatorAwsVersion = "1.12.7"
IamAuthenticatorAwsVersion authenticator binary version to use
const KubectlVersion = "1.16.5"
KubectlVersion binary version to use
const KustomizeVersion = "3.5.1"
KustomizeVersion binary version to use
GlobalBinaryPathAllowlist binaries that require to be on the path but do not need to exist in JX_HOME/bin
AddRequiredBinary add the required binary
BinaryShouldBeInstalled appends the binary to the deps array if it cannot be found on the $PATH
DownloadFile downloads binary content of given URL into local filesystem.
FilterInstalledDependencies filters installed dependencies
InstallKubectl installs kubectl
InstallKubectlWithVersion install a specific version of kubectl
func InstallOrUpdateBinary(options InstallOrUpdateBinaryOptions) error
InstallOrUpdateBinary installs or updates a binary
InstalledPackagesFile returns absolute path to binaries.yml file used to store version of installed packages.
func IsBinaryWithProperVersionInstalled(binary string, expectedVersion string, versionExtractor VersionExtractor) (bool, error)
RememberInstalledPackage writes the version of package into local file system. This allows to identify what version of package is currently installed in ~/.jx/bin .
ShouldInstallBinary checks if the given binary should be installed
UninstallBinary uninstalls given binary
type InstallOrUpdateBinaryOptions struct { Binary string GitHubOrganization string DownloadUrlTemplate string DownloadUrlTemplateLowerCase bool Version string SkipPathScan bool VersionExtractor VersionExtractor Archived bool ArchiveDirectory string }
InstallOrUpdateBinaryOptions options for install or update binary
type VersionExtractor interface {
// contains filtered or unexported methods
}
Package packages imports 15 packages (graph). Updated 2020-12-25. Refresh now. Tools for package owners.