e2e

package
v0.9.1-0...-c65f83f Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunE2ETests

func RunE2ETests(authConfig, certDir, host, repoRoot, provider string, orderseed int64, times int, testList []string)

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

func TestBasic

func TestBasic(c *client.Client) bool

TestBasic performs the TestBasicImage check with the image kubernetes/serve_hostname

func TestBasicImage

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

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.

func TestClusterDNS

func TestClusterDNS(c *client.Client) bool

TestClusterDNS checks that cluster DNS works.

func TestImportantURLs

func TestImportantURLs(c *client.Client) bool

TestImportantURLs validates that URLs that people depend on haven't moved. ***IMPORTANT*** Do *not* fix this test just by changing the path. If you moved a URL you can break upstream dependencies.

func TestKubeletSendsEvent

func TestKubeletSendsEvent(c *client.Client) bool

TestKubeletSendsEvent checks that kubelets and scheduler send events about pods scheduling and running.

func TestKubernetesROService

func TestKubernetesROService(c *client.Client) bool

func TestLivenessExec

func TestLivenessExec(c *client.Client) bool

TestLivenessExec tests restarts with a docker exec "cat /tmp/health" liveness probe.

func TestLivenessHttp

func TestLivenessHttp(c *client.Client) bool

TestLivenessHttp tests restarts with a /healthz http liveness probe.

func TestNetwork

func TestNetwork(c *client.Client) bool

func TestPodHasServiceEnvVars

func TestPodHasServiceEnvVars(c *client.Client) bool

TestPodHasServiceEnvVars checks that kubelets and scheduler send events about pods scheduling and running.

func TestPodUpdate

func TestPodUpdate(c *client.Client) bool

func TestPrivate

func TestPrivate(c *client.Client) bool

A basic test to check the deployment of the contaier gcr.io/_b_k8s_test/serve_hostname image with the TestBasicImage test. This test is only supported for the providers GCE and GKE.

Types

This section is empty.

Jump to

Keyboard shortcuts

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