cmd

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: GPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs vmshed

func XMLLog added in v0.8.0

func XMLLog(resultsDir, testName string, testRes TestResulter, testLog []byte) error

Types

type StandardLoggerHook added in v0.4.0

type StandardLoggerHook struct {
}

StandardLoggerHook duplicates log messages to the standard logger

func (*StandardLoggerHook) Fire added in v0.4.0

func (hook *StandardLoggerHook) Fire(entry *log.Entry) error

func (*StandardLoggerHook) Levels added in v0.4.0

func (hook *StandardLoggerHook) Levels() []log.Level

type TestResulter

type TestResulter interface {
	ExecTime() time.Duration
	Err() error
}

type TestStatus added in v0.7.0

type TestStatus string
const (
	StatusSkipped       TestStatus = "SKIPPED"
	StatusSuccess       TestStatus = "SUCCESS"
	StatusCanceled      TestStatus = "CANCELED"
	StatusFailedTimeout TestStatus = "FAILED (TIMEOUT)"
	StatusFailed        TestStatus = "FAILED"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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