testkit/

directory
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0

Directories

Path Synopsis
Package bench is the funcd benchmark & sustainability harness (ADR-0040): it embeds the platform, drives the public data plane, and samples process memory to answer whether the platform is sustainable on the target box (RAM-bound, scale-to-zero).
Package bench is the funcd benchmark & sustainability harness (ADR-0040): it embeds the platform, drives the public data plane, and samples process memory to answer whether the platform is sustainable on the target box (RAM-bound, scale-to-zero).
Package freeport gives a test a free loopback TCP port that no :0 bind is ever given, for a test that frees a port and binds it again (#758): another test process's :0 bind can take an ephemeral port in between.
Package freeport gives a test a free loopback TCP port that no :0 bind is ever given, for a test that frees a port and binds it again (#758): another test process's :0 bind can take an ephemeral port in between.
Package langmod locates the repos funcd pins as Go modules (ADR-0141): a pinned module's root, for the committed example builds and the example Apps of funcd-functions, and the embedded Node and Python shims written to a temp dir, for the tests that exec them.
Package langmod locates the repos funcd pins as Go modules (ADR-0141): a pinned module's root, for the committed example builds and the example Apps of funcd-functions, and the embedded Node and Python shims written to a temp dir, for the tests that exec them.
Package loadgen is a small, stdlib-only client-side HTTP load generator (ADR-0053).
Package loadgen is a small, stdlib-only client-side HTTP load generator (ADR-0053).
Package poll checks a test condition over time in the caller's goroutine (#950).
Package poll checks a test condition over time in the caller's goroutine (#950).
Package realshim brings the real Node shim up under a function.Reconciler for the node-gated tests (ADR-0030 node lane).
Package realshim brings the real Node shim up under a function.Reconciler for the node-gated tests (ADR-0030 node lane).
Package s3stub is an S3 endpoint for tests (ADR-0203, ADR-0208): path-style object PUT, GET, HEAD, DELETE and CopyObject, ListObjectsV2 and ListObjectVersions over an in-memory bucket stamped by a manual clock, with the bucket's versioning and Object Lock answers set by the test.
Package s3stub is an S3 endpoint for tests (ADR-0203, ADR-0208): path-style object PUT, GET, HEAD, DELETE and CopyObject, ListObjectsV2 and ListObjectVersions over an in-memory bucket stamped by a manual clock, with the bucket's versioning and Object Lock answers set by the test.
Package sendbuf fixes the kernel send buffer of a test server's connections.
Package sendbuf fixes the kernel send buffer of a test server's connections.
Package stallregistry serves an OCI registry that accepts every request and stops answering it (#697).
Package stallregistry serves an OCI registry that accepts every request and stops answering it (#697).
Package wsupstream is the one WebSocket test upstream (ADR-0181): an httptest server over x/net/websocket that records each request's ContentLength and serves the query parameter mode.
Package wsupstream is the one WebSocket test upstream (ADR-0181): an httptest server over x/net/websocket that records each request's ContentLength and serves the query parameter mode.

Jump to

Keyboard shortcuts

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