Documentation ¶
Index ¶
Constants ¶
View Source
const KubectlStableURL = "https://storage.googleapis.com/kubernetes-release/release/stable.txt"
KubectlStableURL URL of the text file used by kubernetes community to hold the latest stable version of kubernetes released
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloder ¶ added in v0.1.0
type Downloder struct { }
Downloder is a helper class that is used to interact with the kubernetes infrastructure holding released binaries and release information
func (*Downloder) GetKubectlBinary ¶ added in v0.1.0
GetKubectlBinary downloads the kubectl binary identified by the given version to the specified destination
func (*Downloder) UpstreamStableVersion ¶ added in v0.1.0
UpstreamStableVersion returns the latest version of kubernetes that upstream considers stable
Click to show internal directories.
Click to hide internal directories.