integration

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

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.1

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

func RequireEtcd added in v1.4.1

func RequireEtcd()

func WaitForPodToDisappear added in v1.5.0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL