Documentation ¶
Overview ¶
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 ¶
Constants ¶
This section is empty.
Variables ¶
View Source
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.
View Source
var Code201 = map[int]bool{201: true}
View Source
var Code400 = map[int]bool{400: true}
View Source
var Code403 = map[int]bool{403: true}
View Source
var Code404 = map[int]bool{404: true}
View Source
var Code405 = map[int]bool{405: true}
View Source
var Code409 = map[int]bool{409: true}
View Source
var Code422 = map[int]bool{422: true}
View Source
var Code500 = map[int]bool{500: true}
View Source
var Code503 = map[int]bool{503: true}
Functions ¶
func DeletePodOrErrorf ¶ added in v1.4.0
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.