test

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = cli.Command{
	Name:   "test",
	Usage:  "Test current revision against FOSSA scan status and exit with errors if issues are found",
	Action: Run,
	Flags: flags.WithGlobalFlags(flags.WithAPIFlags(([]cli.Flag{
		cli.IntFlag{Name: Timeout, Value: 10 * 60, Usage: "duration to wait for build completion (in seconds)"},
	}))),
}
View Source
var Timeout = "timeout"

Functions

func CheckBuild

func CheckBuild(locator fossa.Locator, stop <-chan time.Time) (fossa.Build, error)

func CheckIssues

func CheckIssues(locator fossa.Locator, stop <-chan time.Time) (fossa.Issues, error)

func Do

func Do(stop <-chan time.Time) (fossa.Issues, error)

func Run

func Run(ctx *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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