...

Directory /src/k8s.io/kubernetes/test

Name Synopsis
..
conformance This stand-alone package is utilized for dynamically generating/maintaining a list of conformance tests.
image
go-runner
e2e
apimachinery Package apimachinery contains e2e tests owned by SIG-API-Machinery.
apps
architecture
auth
autoscaling
chaosmonkey
cloud
gcp
apps
auth
common
network
node
common
network
node
storage
dra
test-driver
app Package app does all of the work necessary to configure and run a Kubernetes app process.
environment Package environment contains pre-defined environments used by test/e2e and/or test/e2e_node.
feature Package feature contains pre-defined features used by test/e2e and/or test/e2e_node.
framework Package framework contains provider-independent helper code for building and running E2E tests with Ginkgo.
auth
autoscaling
config Package config simplifies the declaration of configuration options.
daemonset
debug
init Package init sets debug.DumpAllNamespaceInfo as implementation in the framework and enables log size verification and resource gathering.
deployment
endpoints
endpointslice
events
gpu
ingress
job
kubectl
kubelet
kubesystem
manifest
metrics
init Package init installs GrabBeforeEach and GrabAfterEach as callbacks for gathering data before and after a test.
network
node
init Package init registers node.AllNodesReady.
runtimeclass
perf
pod
output
providers
aws
azure
gce
kubemark
openstack
vsphere
pv
rc
replicaset
resource
security
service
skipper
ssh
statefulset
testfiles Package testfiles provides a wrapper around various optional ways of retrieving additional files needed during a test run: - builtin bindata - filesystem access
timer
volume
websocket
instrumentation
common
logging
monitoring
kubectl
lifecycle
bootstrap
network Package network are the end-to-end tests for Kubernetes networking.
common
netpol
scale
localrun
node
nodefeature Package feature contains pre-defined node features used by test/e2e and/or test/e2e_node.
perftype
reporters
scheduling
storage
csi_mock
drivers
csi-test
driver Package driver is a generated GoMock package.
mock
cache
service
proxy
external
framework
podlogs Package podlogs enables live capturing of all events and log messages for some or all pods in a namespace as they get generated.
testsuites
utils
testing-manifests
upgrades Package upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
apps
auth
autoscaling
network
node
storage
windows
e2e_kubeadm
e2e_node Package e2enode contains e2e tests specific to the node
builder
environment Build the binary with `go build conformance.go`, then run the conformance binary on a node candidate.
kubeletconfig
perf
workloads
perftype
plugins
gcp-credential-provider Originally copied from pkg/credentialproviders/gcp
remote Package remote contains implementations of the TestSuite interface, which specify how to run various node test suites remotely.
gce
runner
local
remote To run the node e2e tests remotely against one or more hosts on gce: $ go run run_remote.go --v 2 --ssh-env gce --hosts <comma separated hosts> To run the node e2e tests remotely against one or more images on gce and provision them: $ go run run_remote.go --v 2 --project <project> --zone <zone> --ssh-env gce --images <comma separated images>
services
system
testing-manifests
fixtures
fuzz
cbor
json Package json implements fuzzers for json deserialization routines in Kubernetes.
yaml Package yaml implements fuzzers for yaml deserialization routines in Kubernetes.
images
agnhost
audit-proxy
connect
crd-conversion-webhook
converter
dns
entrypoint-tester
fakegitserver
grpc-health-checking Package grpchealthchecking offers a tiny grpc health checking endpoint.
guestbook
inclusterclient
liveness
logs-generator
mounttest
net
common
nat
netexec
nettest
no-snat-test
no-snat-test-proxy
openidmetadata Package openidmetadata tests the OIDC discovery endpoints which are part of the ServiceAccountIssuerDiscovery feature.
pause
port-forward-tester
porter
resource-consumer-controller
serve-hostname
tcp-reset
test-webserver Package testwebserver offers a tiny web server that serves a static file.
webhook
apparmor-loader
busybox
nonewprivs
pets
peer-finder A small utility program to lookup hostnames of endpoints in a service.
regression-issue-74839
resource-consumer
common
consume-cpu
sample-device-plugin
instrumentation This stand-alone package is utilized for dynamically generating/maintaining a list of metrics; this list is determined by the stability class of the metric.
documentation This stand-alone package is utilized for dynamically generating/maintaining documentation on all parseable metrics in the Kubernetes code base.
sort
integration Package integration provides integration tests for Kubernetes.Some tests require a running etcd or Docker installation on the system.
apiserver
cel
discovery
authutil
benchmark
extractlog
jsonify
daemonset
deployment
etcd
framework
ipamperf
logs
benchmark
metrics
scheduler
scheduler_perf
statefulset
storageversionmigrator
util
volumescheduling
list list all unit and ginkgo test names that will be run
soak
serve_hostnames
typecheck do a fast type check of kubernetes code, for all platforms.
utils
apiserver
crd
format Package format is an extension of Gomega's format package which improves printing of objects that can be serialized well as YAML, like the structs in the Kubernetes API.
harness
image
junit Package junit provides data structures to allow easy XML encoding and decoding of JUnit test results.
ktesting Package ktesting is a wrapper around k8s.io/klog/v2/ktesting.
examples
gomega The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
logging The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
with_ktesting The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
without_ktesting The tests will fail and therefore are excluded from normal "make test" via the "example" build tag.
initoption
kubeconfig
oidc Package oidc is a generated GoMock package.