upgrade

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DevelopmentVersion = "0.0.1"

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