cmd

package
v0.1.8-rc Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

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

func LintPackage(packagePath string) []lint.LintError

LintPackage performs linting checks on a Preflight package on-disk. Returning a list of lint issues as strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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