cmd

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: GPL-2.0, GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommitHash = "-"

CommitHash is the long form of the current build's commit hash

View Source
var Date = time.Now().Format(time.RFC822)

Date is the date and time at which the build was created

View Source
var RepoChecksum = "-"

RepoChecksum is a hash of all relevant files in the repo at time of build

This will help tell apart binaries built from source by detecting uncommitted changes.

View Source
var Version = "0.0.1"

Version is the current semantic version (all utils and pipedream itself share the same version)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type DependencyMismatch

type DependencyMismatch struct {
	Pm      string
	Package string
	Current string
	Latest  string
	Wanted  string
}

DependencyMismatch is a data structure containing information about a package's required and currently installed versions

Jump to

Keyboard shortcuts

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