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}
	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}
	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 API server.

Functions

func DeletePodOrErrorf

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

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

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

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/apiserver/admissionwebhook
test/integration/apiserver/anonymous
test/integration/apiserver/apply
test/integration/apiserver/cel
test/integration/apiserver/cel/authorizerselector
test/integration/apiserver/cel/authorizerselector/selectordisabled
test/integration/apiserver/cel/authorizerselector/selectorenabled
test/integration/apiserver/certreload
test/integration/apiserver/coordinatedleaderelection
test/integration/apiserver/discovery
test/integration/apiserver/flowcontrol
test/integration/apiserver/oidc
test/integration/apiserver/openapi
test/integration/apiserver/peerproxy
test/integration/apiserver/podlogs
test/integration/apiserver/portforward
test/integration/apiserver/tracing
test/integration/auth
test/integration/authutil
test/integration/benchmark
test/integration/benchmark/extractlog
test/integration/benchmark/jsonify
test/integration/certificates
test/integration/client
test/integration/client/metrics
test/integration/cloudprovider
test/integration/clustertrustbundles
test/integration/configmap
test/integration/controlplane
test/integration/controlplane/audit
test/integration/controlplane/transformation
test/integration/cronjob
test/integration/daemonset
test/integration/defaulttolerationseconds
test/integration/deployment
test/integration/disruption
test/integration/dra
test/integration/dryrun
test/integration/dualstack
test/integration/endpoints
test/integration/endpointslice
test/integration/etcd
test/integration/events
test/integration/evictions
test/integration/examples
test/integration/framework
test/integration/garbagecollector
test/integration/ipamperf
test/integration/job
test/integration/kubelet
test/integration/logs
test/integration/logs/benchmark
test/integration/logs/benchmark/contextual-logging
test/integration/logs/functional
test/integration/logs/functional/json
test/integration/metrics
test/integration/namespace
test/integration/network
test/integration/node
test/integration/objectmeta
test/integration/openshift
test/integration/podgc
test/integration/pods
test/integration/pvc
test/integration/quota
test/integration/replicaset
test/integration/replicationcontroller
test/integration/resourceclaim
test/integration/scale
test/integration/scheduler
test/integration/scheduler/bind
test/integration/scheduler/eventhandler
test/integration/scheduler/extender
test/integration/scheduler/filters
test/integration/scheduler_perf
test/integration/scheduler_perf/affinity
test/integration/scheduler_perf/dra
test/integration/scheduler_perf/event_handling
test/integration/scheduler_perf/misc
test/integration/scheduler_perf/topology_spreading
test/integration/scheduler_perf/volumes
test/integration/scheduler/plugins
test/integration/scheduler/preemption
test/integration/scheduler/queueing
test/integration/scheduler/queueing/former
test/integration/scheduler/queueing/queueinghint
test/integration/scheduler/scoring
test/integration/scheduler/serving
test/integration/scheduler/taint
test/integration/secrets
test/integration/service
test/integration/serviceaccount
test/integration/servicecidr
test/integration/serving
test/integration/statefulset
test/integration/storageclasses
test/integration/storageversion
test/integration/storageversionmigrator
test/integration/tls
test/integration/ttlcontroller
test/integration/util
test/integration/volume
test/integration/volumescheduling
Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
12 packages
Last checked
3 hours ago

Tools for package owners.