conformance

package
v0.0.0-...-fe50fa5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package conformance implements conformance test kubetest code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

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

Deployer returns a deployer stub that expects a cluster to already exist.

func NewDeployer

func NewDeployer(kubecfg string, testArgs *string, control *process.Control) (*Deployer, error)

NewDeployer returns a new Deployer.

func (*Deployer) Down

func (d *Deployer) Down() error

Down stops and removes the cluster container.

func (*Deployer) DumpClusterLogs

func (d *Deployer) DumpClusterLogs(localPath, gcsPath string) error

DumpClusterLogs is a no-op.

func (*Deployer) GetClusterCreated

func (d *Deployer) GetClusterCreated(gcpProject string) (time.Time, error)

GetClusterCreated returns the start time of the cluster container. If the container doesn't exist, has no start time, or has a malformed start time, then an error is returned.

func (*Deployer) IsUp

func (d *Deployer) IsUp() error

IsUp returns nil if the apiserver is running, or the error received while checking.

func (*Deployer) TestSetup

func (d *Deployer) TestSetup() error

TestSetup is a no-op.

func (*Deployer) Up

func (d *Deployer) Up() error

Up synchronously starts a cluster, or times out.

type Tester

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

Tester runs conformance tests against a given cluster.

func NewTester

func NewTester(e2etest, ginkgo, kubecfg, reportdir string, testArgs *string, control *process.Control) (*Tester, error)

NewTester returns an object that knows how to test the cluster it deployed.

func (*Tester) Test

func (t *Tester) Test(focus, skip string) error

Test just execs ginkgo. This will take more parameters in the future.

Jump to

Keyboard shortcuts

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