unversioned

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 23

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
}

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 SummaryObject added in v1.2.0

type SummaryObject struct {
	Pass     int
	Fail     int
	Total    int
	Duration time.Duration
	Results  []*TestResult `json:",omitempty"`
}

type TestResult

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

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