test/

directory
v1.11.3-rancher1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0

Directories

Path Synopsis
Package main provides a tool that scans kubernetes e2e test source code looking for conformance test declarations, which it emits on stdout.
Package main provides a tool that scans kubernetes e2e test source code looking for conformance test declarations, which it emits on stdout.
e2e
framework/ginkgowrapper
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
network
Package network are the end-to-end tests for Kubernetes networking.
Package network are the end-to-end tests for Kubernetes networking.
ui
upgrades
Package upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
Package upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
e2e_node contains e2e tests specific to the node TODO: rename this package e2e-node
e2e_node contains e2e tests specific to the node TODO: rename this package e2e-node
environment
Build the binary with `go build conformance.go`, then run the conformance binary on a node candidate.
Build the binary with `go build conformance.go`, then run the conformance binary on a node candidate.
remote
Package remote contains implementations of the TestSuite interface, which specify how to run various node test suites remotely.
Package remote contains implementations of the TestSuite interface, which specify how to run various node test suites remotely.
runner/remote
To run the node e2e tests remotely against one or more hosts on gce: $ go run run_remote.go --logtostderr --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 --logtostderr --v 2 --project <project> --zone <zone> --ssh-env gce --images <comma separated images>
To run the node e2e tests remotely against one or more hosts on gce: $ go run run_remote.go --logtostderr --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 --logtostderr --v 2 --project <project> --zone <zone> --ssh-env gce --images <comma separated images>
images
clusterapi-tester
A simple pod that first lists all nodes/services through the Kubernetes api, then serves a 200 on /healthz.
A simple pod that first lists all nodes/services through the Kubernetes api, then serves a 200 on /healthz.
liveness
A simple server that is alive for 10 seconds, then reports unhealthy for the rest of its (hopefully) short existence.
A simple server that is alive for 10 seconds, then reports unhealthy for the rest of its (hopefully) short existence.
n-way-http
A webserver that runs n http handlers.
A webserver that runs n http handlers.
net
nettest
A tiny web server for checking networking connectivity.
A tiny web server for checking networking connectivity.
pets/peer-finder
A small utility program to lookup hostnames of endpoints in a service.
A small utility program to lookup hostnames of endpoints in a service.
port-forward-tester
A tiny binary for testing port forwarding.
A tiny binary for testing port forwarding.
porter
A tiny binary for testing ports.
A tiny binary for testing ports.
serve-hostname
A small utility to just serve the hostname on TCP and/or UDP.
A small utility to just serve the hostname on TCP and/or UDP.
test-webserver
A tiny web server that serves a static file.
A tiny web server that serves a static file.
Package integration provides integration tests for Kubernetes.Some tests require a running etcd or Docker installation on the system.
Package integration provides integration tests for Kubernetes.Some tests require a running etcd or Docker installation on the system.
list all unit and ginkgo test names that will be run
list all unit and ginkgo test names that will be run
soak
do a fast type check of kubernetes code, for all platforms.
do a fast type check of kubernetes code, for all platforms.
srcimporter
Package srcimporter implements importing directly from source files rather than installed packages.
Package srcimporter implements importing directly from source files rather than installed packages.
junit
Package junit provides data structures to allow easy XML encoding and decoding of JUnit test results.
Package junit provides data structures to allow easy XML encoding and decoding of JUnit test results.

Jump to

Keyboard shortcuts

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