notify

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 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"
)

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 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