kubernetesk8s.io/kubernetes/test/integration Index | Files | Directories

package integration

import "k8s.io/kubernetes/test/integration"

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

Index

Variables

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.

var Code201 = map[int]bool{201: true}
var Code400 = map[int]bool{400: true}
var Code401 = map[int]bool{401: true}
var Code403 = map[int]bool{403: true}
var Code404 = map[int]bool{404: true}
var Code405 = map[int]bool{405: true}
var Code409 = map[int]bool{409: true}
var Code422 = map[int]bool{422: true}
var Code500 = map[int]bool{500: true}
var Code503 = map[int]bool{503: true}

Functions

func DeletePodOrErrorf

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

func GetEtcdClients

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

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.

Source Files

doc.go utils.go

Directories

PathSynopsis
test/integration/apimachinery
test/integration/apiserver
test/integration/auth
test/integration/benchmark
test/integration/benchmark/jsonify
test/integration/client
test/integration/configmap
test/integration/cronjob
test/integration/daemonset
test/integration/defaulttolerationseconds
test/integration/deployment
test/integration/dryrun
test/integration/etcd
test/integration/evictions
test/integration/examples
test/integration/framework
test/integration/garbagecollector
test/integration/ipamperf
test/integration/master
test/integration/metrics
test/integration/objectmeta
test/integration/openshift
test/integration/pods
test/integration/quota
test/integration/replicaset
test/integration/replicationcontroller
test/integration/scale
test/integration/scheduler
test/integration/scheduler_perf
test/integration/secrets
test/integration/serviceaccount
test/integration/serving
test/integration/statefulset
test/integration/storageclasses
test/integration/tls
test/integration/ttlcontroller
test/integration/util
test/integration/volume
Version
v1.13.10
Published
Aug 17, 2019
Platform
js/wasm
Imports
10 packages
Last checked
49 seconds ago

Tools for package owners.