cmd

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 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

Types

type Jenkins

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

func NewJenkins added in v0.4.0

func NewJenkins(workspacePath string) (*Jenkins, error)

NewJenkins initializes a new Jenkins object and assiciates a Jenkins workspace with the object. An empty workspace string disables other functionality.

func (*Jenkins) IsActive

func (j *Jenkins) IsActive() bool

IsActive returnes true if a workspace path is set, otherwise false.

func (*Jenkins) SubDir added in v0.3.0

func (j *Jenkins) SubDir(subdir string) string

func (*Jenkins) XMLLog

func (j *Jenkins) XMLLog(restultsDir, testName string, testRes TestResulter, testLog []byte) error

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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