update

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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

func CheckVersion(config string) (string, error)

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

func CheckVersionOnError

func CheckVersionOnError(config string) (string, error)

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

func DownloadLatestVersion

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