e2e

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2015 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCadvisorHealthOnAllNodes added in v0.12.0

func CheckCadvisorHealthOnAllNodes(c *client.Client, timeout time.Duration)

func DeleteRC added in v0.13.0

func DeleteRC(c *client.Client, ns, name string) error

Delete a Replication Controller and all pods it spawned

func Failf added in v0.12.0

func Failf(format string, a ...interface{})

func Logf added in v0.12.0

func Logf(format string, a ...interface{})

func RunE2ETests

func RunE2ETests(kubeConfig, authConfig, certDir, host, repoRoot, provider string, gceConfig *GCEConfig, orderseed int64, times int, reportDir string, testList []string)

Run each Go end-to-end-test. This function assumes the creation of a test cluster.

func RunRC added in v0.13.0

func RunRC(c *client.Client, name string, ns, image string, replicas int)

Launch a Replication Controller and wait for all pods it spawns to become running

func ServeImageOrFail added in v0.12.0

func ServeImageOrFail(c *client.Client, test string, image string)

A basic test to check the deployment of an image using a replication controller. The image serves its hostname which is checked for each replica.

Types

type GCEConfig added in v0.12.0

type GCEConfig struct {
	ProjectID  string
	Zone       string
	MasterName string
}

Jump to

Keyboard shortcuts

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