Documentation ¶
Index ¶
- func RunE2ETests(authConfig, certDir, host, repoRoot, provider string, orderseed int64, ...)
- 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 TestPodHasServiceEnvVars(c *client.Client) bool
- func TestPodUpdate(c *client.Client) bool
- func TestPrivate(c *client.Client) bool
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, 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 TestPodHasServiceEnvVars ¶
TestPodHasServiceEnvVars checks that kubelets and scheduler send events about pods scheduling and running.
func TestPodUpdate ¶
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.
Types ¶
This section is empty.