version

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Branch = ""
View Source
var BuildTime = ""
View Source
var Cmd = &cobra.Command{
	Use:   "version",
	Short: "Display wego version",
	Run:   runCmd,
	PostRun: func(cmd *cobra.Command, args []string) {
		CheckVersion(CheckpointParams())
	},
}
View Source
var GitCommit = ""
View Source
var Version = "v0.0.0"

The current wego version

Functions

func CheckFluxVersion added in v0.1.0

func CheckFluxVersion() (string, error)

func CheckVersion added in v0.0.4

func CheckVersion(p *checkpoint.CheckParams)

CheckVersion looks to see if there is a newer version of the software available

func CheckpointParams added in v0.1.0

func CheckpointParams() *checkpoint.CheckParams

CheckpointParams creates the structure to pass to CheckVersion

func CheckpointParamsWithFlags added in v0.1.0

func CheckpointParamsWithFlags(params *checkpoint.CheckParams, c *cobra.Command) *checkpoint.CheckParams

CheckpointParamsWithFlags adds the object and command from the arguments list to the checkpoint parameters

Types

This section is empty.

Jump to

Keyboard shortcuts

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