Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GithubMinikubeReleasesURL is the URL of the minikube github releases JSON file GithubMinikubeReleasesURL = "https://storage.googleapis.com/minikube/releases-v2.json" // GithubMinikubeBetaReleasesURL is the URL of the minikube GitHub beta releases JSON file GithubMinikubeBetaReleasesURL = "https://storage.googleapis.com/minikube/releases-beta-v2.json" // GithubMinikubeReleasesAliyunURL is the URL of the minikube github releases JSON file from Aliyun Mirror GithubMinikubeReleasesAliyunURL = "https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/releases.json" // GithubMinikubeBetaReleasesAliyunURL is the URL of the minikube GitHub beta releases JSON file GithubMinikubeBetaReleasesAliyunURL = "https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/releases-beta.json" )
Variables ¶
This section is empty.
Functions ¶
func DownloadURL ¶ added in v1.19.0
DownloadURL returns a URL to get minikube binary version ver for platform os/arch
func MaybePrintUpdateTextFromAliyunMirror ¶ added in v1.24.0
func MaybePrintUpdateTextFromAliyunMirror()
MaybePrintUpdateTextFromAliyunMirror prints update text if needed, from Aliyun mirror
func MaybePrintUpdateTextFromGithub ¶
func MaybePrintUpdateTextFromGithub()
MaybePrintUpdateTextFromGithub prints update text if needed, from github
Types ¶
type Release ¶ added in v0.11.0
type Release struct { Checksums checksums `json:"checksums"` Name string `json:"name"` }
type Releases ¶ added in v0.11.0
type Releases struct {
Releases []Release
}
func AllVersionsFromURL ¶ added in v1.20.0
AllVersionsFromURL get all versions from a JSON URL
func (*Releases) UnmarshalJSON ¶ added in v1.25.2
Click to show internal directories.
Click to hide internal directories.