package e2e
import "k8s.io/kubernetes/test/e2e"
Index ¶
- func RunE2ETests(authConfig, certDir, host, repoRoot, provider string, orderseed int64, times int, reportDir string, testList []string)
- func TestBasic(c *client.Client) bool
- func TestBasicImage(c *client.Client, test string, image string) bool
- func TestClusterDNS(c *client.Client) bool
- func TestImportantURLs(c *client.Client) bool
- func TestKubeletSendsEvent(c *client.Client) bool
- func TestKubernetesROService(c *client.Client) bool
- func TestLivenessExec(c *client.Client) bool
- func TestLivenessHttp(c *client.Client) bool
- func TestNetwork(c *client.Client) bool
- func TestPrivate(c *client.Client) bool
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 ¶
TestBasic performs the TestBasicImage check with the image kubernetes/serve_hostname
func TestBasicImage ¶
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 ¶
TestClusterDNS checks that cluster DNS works.
func TestImportantURLs ¶
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 ¶
TestKubeletSendsEvent checks that kubelets and scheduler send events about pods scheduling and running.
func TestKubernetesROService ¶
func TestLivenessExec ¶
TestLivenessExec tests restarts with a docker exec "cat /tmp/health" liveness probe.
func TestLivenessHttp ¶
TestLivenessHttp tests restarts with a /healthz http liveness probe.
func TestNetwork ¶
func TestPrivate ¶
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.