test/

directory
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT

Directories

Path Synopsis
e2e
Package e2e holds the acceptance phases the Go harness runs against the cluster hack/e2e-kind.sh stands up.
Package e2e holds the acceptance phases the Go harness runs against the cluster hack/e2e-kind.sh stands up.
alertsink command
Command alertsink is the receiver the alerting phase points Alertmanager at.
Command alertsink is the receiver the alerting phase points Alertmanager at.
delayproxy command
Command delayproxy stands in front of a database and holds every new connection for a declared delay before reaching it.
Command delayproxy stands in front of a database and holds every new connection for a declared delay before reaching it.
gitfixture
Package gitfixture is the Git repository and the keys a test serves through test/e2e/gitserver: the git-sources acceptance phase serves them on kind, and the runner harness (test/runnerharness) from a container.
Package gitfixture is the Git repository and the keys a test serves through test/e2e/gitserver: the git-sources acceptance phase serves them on kind, and the runner harness (test/runnerharness) from a container.
gitrefusal
Package gitrefusal holds the words of Ptah's Git pull refusals that tests read.
Package gitrefusal holds the words of Ptah's Git pull refusals that tests read.
gitrepo
Package gitrepo builds the Git repository the acceptance phase reads schemas and migrations from: a linear history described by a Spec, written into an in-memory object store with fixed authors and times, so the same Spec always gives the same commit ids.
Package gitrepo builds the Git repository the acceptance phase reads schemas and migrations from: a linear history described by a Spec, written into an in-memory object store with fixed authors and times, so the same Spec always gives the same commit ids.
gitserver command
Command e2e-git-server serves one Git repository for the acceptance phase that reads schemas and migration directories from Git: over smart HTTP behind TLS with a token, and over SSH with one authorized key.
Command e2e-git-server serves one Git repository for the acceptance phase that reads schemas and migration directories from Git: over smart HTTP behind TLS with a token, and over SSH with one authorized key.
handcraftoci command
Command handcraftoci publishes one intentionally unvalidated schema layer.
Command handcraftoci publishes one intentionally unvalidated schema layer.
harness
Package harness runs the acceptance phases test/e2e carries, inside the cluster hack/e2e-kind.sh stands up.
Package harness runs the acceptance phases test/e2e carries, inside the cluster hack/e2e-kind.sh stands up.
httpsfixture
Package httpsfixture is the downloads a test serves through test/e2e/httpsserver: the runner harness from a container, and the https-sources acceptance phase on kind.
Package httpsfixture is the downloads a test serves through test/e2e/httpsserver: the runner harness from a container, and the https-sources acceptance phase on kind.
httpsserver command
Command e2e-https-server serves files for the acceptance phase and the runner harness rows that read schemas and migration directories from an HTTPS download pinned by its digest.
Command e2e-https-server serves files for the acceptance phase and the runner harness rows that read schemas and migration directories from an HTTPS download pinned by its digest.
logstall command
Command logstall serves one deliberately unfinished kubelet log response.
Command logstall serves one deliberately unfinished kubelet log response.
phases
Package phases declares the acceptance phases the Go harness carries.
Package phases declares the acceptance phases the Go harness carries.
resultframe
Package resultframe extracts one exact, integrity-bound runner result from an acceptance Pod's log.
Package resultframe extracts one exact, integrity-bound runner result from an acceptance Pod's log.
runnerprotocolfixture command
Command runnerprotocolfixture prepares a Go build overlay for an explicitly incompatible runner.
Command runnerprotocolfixture prepares a Go build overlay for an explicitly incompatible runner.
envtest
internal/harness
Package harness starts the envtest control plane the suites under test/envtest share: one kube-apiserver and one etcd per package, and nothing else.
Package harness starts the envtest control plane the suites under test/envtest share: one kube-apiserver and one etcd per package, and nothing else.
internal/policyenv
Package policyenv installs the chart's admission policies into an envtest API server in the state a completed install leaves them, and decides requests against them: which policy refused a request, and with what.
Package policyenv installs the chart's admission policies into an envtest API server in the state a completed install leaves them, and decides requests against them: which policy refused a request, and with what.
Package runnerharness runs the runner against the Ptah image support/ptah.json pins, without a cluster, and holds what Ptah printed to the committed captures.
Package runnerharness runs the runner against the Ptah image support/ptah.json pins, without a cluster, and holds what Ptah printed to the committed captures.
recorder command
Command runner-harness-recorder is the runner from this commit, in the form the harness runs inside the executor image.
Command runner-harness-recorder is the runner from this commit, in the form the harness runs inside the executor image.
recording
Package recording is what the runner harness keeps of a run inside the executor image: a runner.Executor that records every child it starts, and the transcript test/runnerharness/recorder prints for the harness to read.
Package recording is what the runner harness keeps of a run inside the executor image: a runner.Executor that records every child it starts, and the transcript test/runnerharness/recorder prints for the harness to read.
volumes
Package volumes writes and unpacks what the harness's stand-in for the kubelet puts on a Pod's volumes: the directories an emptyDir starts as, and the files a Secret or a ConfigMap projects, with their owners and modes.
Package volumes writes and unpacks what the harness's stand-in for the kubelet puts on a Pod's volumes: the directories an emptyDir starts as, and the files a Secret or a ConfigMap projects, with their owners and modes.

Jump to

Keyboard shortcuts

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