Documentation
¶
Index ¶
- Variables
- func Command(version string, args ...string) *exec.Cmd
- func Download(version string) error
- func Exec(version string, args ...string) int
- func Installed(version string) bool
- func Path(version string) string
- func Reset()
- func Run(version string, args ...string) error
- func URL(version string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KubectlURLTemplate = "https://storage.googleapis.com/kubernetes-release/release/v{{ .Version }}/bin/{{ .OS }}/{{ .Arch }}/kubectl" HomeDir = homedir.HomeDir )
KubectlURLTemplate defines the pattern of download URLs for kubectl Edit this value to use a custom location
Functions ¶
func Reset ¶
func Reset()
Reset resets the package variables that could have been modified from outside
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.