integration

package
v0.0.0-...-8a55389 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: Apache-2.0 Imports: 7 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

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.

Types

This section is empty.

Directories

Path Synopsis
federation

Jump to

Keyboard shortcuts

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