upgrade

package
v0.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForNewerVersion

func CheckForNewerVersion() (string, error)

CheckForNewerVersion checks if there is a newer version on github and returns the newer version

func GetVersion

func GetVersion() string

GetVersion returns the application version

func NewerVersionAvailable

func NewerVersionAvailable() string

NewerVersionAvailable checks if there is a newer version of vcluster

func PrintNewerVersionWarning

func PrintNewerVersionWarning()

func SetVersion

func SetVersion(verText string)

SetVersion sets the application version

func Upgrade

func Upgrade(flagVersion string, log log.Logger) error

Upgrade downloads the latest release from github and replaces vcluster if a new version is found

Types

This section is empty.

Jump to

Keyboard shortcuts

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