integration

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package integration provides integration tests for Kubernetes.Some tests require a running etcd or Docker installation on the system.

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 Code401 = map[int]bool{401: 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.2

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

func GetEtcdClients added in v1.13.1

func GetEtcdClients(config storagebackend.Config) (*clientv3.Client, clientv3.KV, error)

func WaitForPodToDisappear added in v1.5.1

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
benchmark

Jump to

Keyboard shortcuts

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