unversioned

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Env          map[string]string
	Entrypoint   []string
	Cmd          []string
	Volumes      []string
	Workdir      string
	ExposedPorts []string
	Labels       map[string]string
	User         string
}

type EnvVar

type EnvVar struct {
	Key     string
	Value   string
	IsRegex bool `yaml:"isRegex"`
}

type Label added in v1.2.0

type Label struct {
	Key     string
	Value   string
	IsRegex bool `yaml:"isRegex"`
}

type OutputValue added in v1.10.0

type OutputValue int
const (
	Text OutputValue = iota
	Json
	Junit
)

func (*OutputValue) Set added in v1.10.0

func (o *OutputValue) Set(value string) error

func (OutputValue) String added in v1.10.0

func (o OutputValue) String() string

func (OutputValue) Type added in v1.10.0

func (o OutputValue) Type() string

type SummaryObject added in v1.2.0

type SummaryObject struct {
	XMLName  xml.Name      `json:"-" xml:"testsuites"`
	Pass     int           `xml:"-"`
	Fail     int           `xml:"failures,attr"`
	Total    int           `xml:"tests,attr"`
	Duration time.Duration `xml:"time,attr"`
	Results  []*TestResult `json:",omitempty" xml:"testsuite>testcase"`
}

type TestResult

type TestResult struct {
	Name     string        `xml:"name,attr"`
	Pass     bool          `xml:"-"`
	Stdout   string        `json:",omitempty" xml:"-"`
	Stderr   string        `json:",omitempty" xml:"-"`
	Errors   []string      `json:",omitempty" xml:"failure"`
	Duration time.Duration `xml:"time,attr"`
}

func (*TestResult) Error

func (t *TestResult) Error(s string)

func (*TestResult) Errorf

func (t *TestResult) Errorf(s string, args ...interface{})

func (*TestResult) Fail

func (t *TestResult) Fail()

func (*TestResult) IsPass added in v1.2.0

func (t *TestResult) IsPass() bool

func (*TestResult) String added in v1.2.0

func (t *TestResult) String() string

Jump to

Keyboard shortcuts

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