notify

package
v1.7.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 16 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"
)

Variables

This section is empty.

Functions

func MaybePrintUpdateText

func MaybePrintUpdateText(url string, lastUpdatePath string) bool

MaybePrintUpdateText prints update text, returns a bool if life is good.

func MaybePrintUpdateTextFromGithub

func MaybePrintUpdateTextFromGithub() bool

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 GetAllVersionsFromURL added in v0.11.0

func GetAllVersionsFromURL(url string) (Releases, error)

GetAllVersionsFromURL 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