integration

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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}
	Code201 = map[int]bool{201: true}
	Code400 = map[int]bool{400: true}
	Code401 = map[int]bool{401: true}
	Code403 = map[int]bool{403: true}
	Code404 = map[int]bool{404: true}
	Code405 = map[int]bool{405: true}
	Code409 = map[int]bool{409: true}
	Code422 = map[int]bool{422: true}
	Code500 = map[int]bool{500: true}
	Code503 = map[int]bool{503: true}
)

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

Functions

func DeletePodOrErrorf added in v1.4.0

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

DeletePodOrErrorf deletes a pod or fails with a call to t.Errorf.

func GetEtcdClients added in v1.13.0

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

GetEtcdClients returns an initialized clientv3.Client and clientv3.KV.

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
benchmark
jsonify command

Jump to

Keyboard shortcuts

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