package
0.6.0
Repository: https://github.com/flavio/kuberlr.git
Documentation: pkg.go.dev

# Functions

BuildKubectlNameForLocalBin returns how kuberlr will name the kubectl binary with the specified version when downloading that to the user home.
BuildKubectlNameForSystemBin returns how kuberlr expects system-wide kubectl binaries to be named.
HomeDir returns current user home directory.
HomeDirEnvKey returns the name of the environment variable that holds the name of the user home directory.
IsNoVersionFound returns true when the given error is of type NoVersionFoundError.
IsShaMismatch returns true when the given error is of type ShaMismatchError.
LocalDownloadDir return the path to where kuberlr saves the kubectl binaries downloaded from kubernetes' upstream mirror.

# Constants

KubectlLocalNamingScheme holds the scheme used to name the kubectl binaries downloaded by kuberlr.
KubectlSystemNamingScheme holds the scheme used to name the kubectl binaries installed system-wide.
SystemPath contains the default path to look for kubectl binaries installed system-wide.

# Structs

NoVersionFoundError error is raised when no kubectl binary has yet been downloaded by kuberlr.
ShaMismatchError error is raised when the downloaded kubectl's SHA doesn't match the recorded SHA.