Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate string
BuildDate is the date it was built
View Source
var Commit string
Commit is the commit hash of the build
View Source
var GoVersion string
GoVersion is the go version that was used to compile this
View Source
var Platform string
Platform is the target platform this was compiled for
View Source
var PreflightVersion = "development"
PreflightVersion hosts the version of the app. It is injected at build time.
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.
func LintPackage ¶
LintPackage performs linting checks on a Preflight package on-disk. Returning a list of lint issues as strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.