update

package
v1.39.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const LatestVersionURL = "https://storage.googleapis.com/skaffold/releases/latest/VERSION"

Variables

View Source
var EnableCheck bool

EnableCheck enabled the check for a more recent version of Skaffold.

View Source
var (
	GetLatestAndCurrentVersion = getLatestAndCurrentVersion
)

For testing

Functions

func CheckVersion added in v1.7.1

func CheckVersion(config string) (string, error)

CheckVersion returns an update message when update check is enabled and skaffold binary in not latest

func CheckVersionOnError added in v1.7.1

func CheckVersionOnError(config string) (string, error)

CheckVersionOnError returns an error message when update check is enabled and skaffold binary in not latest

func DownloadLatestVersion added in v0.40.0

func DownloadLatestVersion() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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