notify

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 17 Imported by: 40

Documentation

Index

Constants

View Source
const (
	// GithubMinikubeReleasesURL is the URL of the minikube github releases JSON file
	GithubMinikubeReleasesURL = "https://storage.googleapis.com/minikube/releases.json"
	// GithubMinikubeBetaReleasesURL is the URL of the minikube Github beta releases JSON file
	GithubMinikubeBetaReleasesURL = "https://storage.googleapis.com/minikube/releases-beta.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

func DownloadURL(ver, os, arch string) string

DownloadURL returns a URL to get minikube binary version ver for platform os/arch

func MaybePrintUpdateTextFromAliyunMirror added in v1.24.0

func MaybePrintUpdateTextFromAliyunMirror()

MaybePrintUpdateTextFromGithub 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 {
	Name      string
	Checksums map[string]string
}

Release represents a release

type Releases added in v0.11.0

type Releases []Release

Releases represents several release

func AllVersionsFromURL added in v1.20.0

func AllVersionsFromURL(url string) (Releases, error)

AllVersionsFromURL get all versions from a JSON URL

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL