testgrid

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetURLResponse(string, bool) (string, error)
}

type TestGrid

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

TestGrid is the default test grid client

func New

func New() *TestGrid

New creates a new TestGrid

func (*TestGrid) BlockingTests

func (t *TestGrid) BlockingTests(branch string) (tests []string, err error)

BlockingTests returns the blocking tests for the provided branch name or an error if those are not available

func (*TestGrid) SetClient

func (t *TestGrid) SetClient(client Client)

SetClient can be used to set the internal HTTP client

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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