options

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package options stores the necessary data for running that application and implements flag operations

Index

Constants

This section is empty.

Variables

View Source
var JunitFieldFormatValues = "full, relative, short"

Functions

This section is empty.

Types

type JunitFieldFormatValue

type JunitFieldFormatValue struct {
	// contains filtered or unexported fields
}

func (*JunitFieldFormatValue) Set

func (f *JunitFieldFormatValue) Set(val string) error

func (*JunitFieldFormatValue) String

func (f *JunitFieldFormatValue) String() string

func (*JunitFieldFormatValue) Type

func (f *JunitFieldFormatValue) Type() string

func (*JunitFieldFormatValue) Value

type NoSummaryValue

type NoSummaryValue struct {
	Value testjson.Summary
}

NoSummaryValue

func NewNoSummaryValue

func NewNoSummaryValue() *NoSummaryValue

func (*NoSummaryValue) Set

func (s *NoSummaryValue) Set(val string) error

func (*NoSummaryValue) String

func (s *NoSummaryValue) String() string

func (*NoSummaryValue) Type

func (s *NoSummaryValue) Type() string

type Options

type Options struct {
	Args                         []string
	Format                       string
	Debug                        bool
	RawCommand                   bool
	JsonFile                     string
	JunitFile                    string
	NoColor                      bool
	NoSummary                    *NoSummaryValue
	JunitTestSuiteNameFormat     *JunitFieldFormatValue
	JunitTestCaseClassnameFormat *JunitFieldFormatValue
	Version                      bool
	Post                         bool
	Token                        string
	Owner                        string
	Repo                         string
	JUnitTestSuite               junitxml.JUnitTestSuites
	GitUnAuth                    bool
}

Options stores flags value

Jump to

Keyboard shortcuts

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