kubernetesk8s.io/kubernetes/test/integration Index | Files | Directories

package integration

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

Package integration provides integration tests for Kubernetes. Use the integration build tag during `go test` to start the tests. Some tests require a running etcd or Docker installation on the system which you can skip with no-docker and no-etcd.

Index

Variables

var Code200 = map[int]bool{200: true}

Requests to try. Each one should be forbidden or not forbidden depending on the authentication and authorization setup of the master.

var Code201 = map[int]bool{201: true}
var Code400 = map[int]bool{400: true}
var Code403 = map[int]bool{403: true}
var Code404 = map[int]bool{404: true}
var Code405 = map[int]bool{405: true}
var Code409 = map[int]bool{409: true}
var Code422 = map[int]bool{422: true}
var Code500 = map[int]bool{500: true}
var Code503 = map[int]bool{503: true}

Functions

func DeletePodOrErrorf

func DeletePodOrErrorf(t *testing.T, c clientset.Interface, ns, name string)

func WaitForPodToDisappear

func WaitForPodToDisappear(podClient coreclient.PodInterface, podName string, interval, timeout time.Duration) error

WaitForPodToDisappear polls the API server if the pod has been deleted.

Source Files

doc.go utils.go

Directories

PathSynopsis
test/integration/examples
test/integration/federation
test/integration/framework
test/integration/metrics
test/integration/objectmeta
test/integration/openshift
test/integration/scheduler_perf
Version
v1.6.0-beta.2
Published
Mar 8, 2017
Platform
js/wasm
Imports
7 packages
Last checked
6 minutes ago

Tools for package owners.