Documentation ¶
Index ¶
- Constants
- func CheckForNewerVersion() (string, error)
- func DetectVersion(ctx context.Context, slug string, version string) (*selfupdate.Release, bool, error)
- func GetVersion() string
- func NewerVersionAvailable() string
- func PrintNewerVersionWarning()
- func SetVersion(verText string)
- func Upgrade(ctx context.Context, flagVersion string, log log.Logger) error
Constants ¶
View Source
const DevelopmentVersion = "0.0.1"
Variables ¶
This section is empty.
Functions ¶
func CheckForNewerVersion ¶
CheckForNewerVersion checks if there is a newer version on github and returns the newer version
func DetectVersion ¶ added in v0.19.9
func NewerVersionAvailable ¶
func NewerVersionAvailable() string
NewerVersionAvailable checks if there is a newer version of vcluster
func PrintNewerVersionWarning ¶
func PrintNewerVersionWarning()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.