e2e

package
v0.0.0-...-7ce7f99 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Status string
	ID     string
}

BuildInfo tells the build ID and the build success

type E2ETester

type E2ETester struct {
	JenkinsHost string
	JenkinsJobs []string

	sync.Mutex
	BuildStatus map[string]BuildInfo // protect by mutex
}

E2ETester is the object which will contact a jenkins instance and get information about recent jobs

func (*E2ETester) GetBuildStatus

func (e *E2ETester) GetBuildStatus() map[string]BuildInfo

GetBuildStatus returns the build status. This map is a copy and is thus safe for the caller to use in any way.

func (*E2ETester) Stable

func (e *E2ETester) Stable() bool

Stable is called to make sure all of the jenkins jobs are stable

Jump to

Keyboard shortcuts

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