cmdoptions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputOptions

type InputOptions struct {
	// TestsuiteFile is path of the testsuite JSON file.
	TestsuiteFile string
	// Workers represents number of concurrent workers.
	Workers int
	// Timeout is the maximum duration for each HTTP request.
	Timeout time.Duration
	// StopOnFailure force exits on first error or failure.
	StopOnFailure bool
}

InputOptions holds input arguments.

func InstallFlags

func InstallFlags(version string, stdout io.StringWriter) (*InputOptions, error)

InstallFlags adds CLI flags and validates user input.

Jump to

Keyboard shortcuts

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