tester

package
v0.0.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(ctx context.Context, containerID string, command []string) (types.IDResponse, error)

Types

type CeloTester

type CeloTester struct {
	Cli *client.Client
}

CeloTester Interface for running tests against node

func New

func New() *CeloTester

func (CeloTester) Test

func (d CeloTester) Test(currentNode node.Node) (bool, error)

Test Method for calling tests against node

type ExecResult

type ExecResult struct {
	StdOut   string
	StdErr   string
	ExitCode int
}

func InspectExecResp

func InspectExecResp(ctx context.Context, id string) (ExecResult, error)

Jump to

Keyboard shortcuts

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