kubernetesk8s.io/kubernetes/test/e2e Index | Files

package e2e

import "k8s.io/kubernetes/test/e2e"

Index

Functions

func RunE2ETests

func RunE2ETests(authConfig, certDir, host, repoRoot, provider string, 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 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 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.

Source Files

basic.go cluster_dns.go driver.go important_urls.go kubelet_sends_events.go liveness.go network.go pods.go private.go roservice.go util.go

Version
v0.10.1
Published
Feb 5, 2015
Platform
js/wasm
Imports
22 packages
Last checked
40 seconds ago

Tools for package owners.