unversioned

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

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
}

type FlattenedConfig

type FlattenedConfig struct {
	Env          []string            `json:"Env"`
	Entrypoint   []string            `json:"Entrypoint"`
	Cmd          []string            `json:"Cmd"`
	Volumes      map[string]string   `json:"Volumes"`
	Workdir      string              `json:"WorkingDir"`
	ExposedPorts map[string][]string `json:"ExposedPorts"`
	Labels       []string            `json:"Labels"`
}

type FlattenedMetadata

type FlattenedMetadata struct {
	Config FlattenedConfig `json:"config"`
}

type Label added in v1.2.0

type Label struct {
	Key   string
	Value string
}

type SummaryObject added in v1.2.0

type SummaryObject struct {
	Pass  int
	Fail  int
	Total int
}

type TestResult

type TestResult struct {
	Name   string
	Pass   bool
	Stdout string
	Stderr string
	Errors []string
}

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