Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BuildDate string
BuildDate is the date it was built
var Commit string
Commit is the commit hash of the build
var GoVersion string
GoVersion is the go version that was used to compile this
var Platform string
Platform is the target platform this was compiled for
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.