Directories
¶
| Path | Synopsis |
|---|---|
|
_LICENSES
|
|
|
api
|
|
|
infra/k8s/ate/v1
Package v1 contains API Schema definitions for the ate.dev v1 API group.
|
Package v1 contains API Schema definitions for the ate.dev v1 API group. |
|
benchmarking
|
|
|
atunnel/cmd/atunnel-bench
command
atunnel-bench measures what atunnel costs in CPU and memory as load rises.
|
atunnel-bench measures what atunnel costs in CPU and memory as load rises. |
|
atunnel/internal/fakeatelet
Package fakeatelet serves the part of atelet's WorkerSupport API that atunnel calls: minting actor certificates for egress, and actor egress policies for the DNS relay.
|
Package fakeatelet serves the part of atelet's WorkerSupport API that atunnel calls: minting actor certificates for egress, and actor egress policies for the DNS relay. |
|
atunnel/internal/load
Package load is the benchmark's load generator: an open-loop pacer, the traffic modes that exercise each atunnel path, the scenarios built from them, and the ladder that runs a scenario at rising rates while reading atunnel's own CPU and memory from its admin endpoint.
|
Package load is the benchmark's load generator: an open-loop pacer, the traffic modes that exercise each atunnel path, the scenarios built from them, and the ladder that runs a scenario at rising rates while reading atunnel's own CPU and memory from its admin endpoint. |
|
atunnel/internal/pki
Package pki writes the throwaway certificates the benchmark processes share, standing in for the pod-identity and service certificates a cluster projects.
|
Package pki writes the throwaway certificates the benchmark processes share, standing in for the pod-identity and service certificates a cluster projects. |
|
atunnel/internal/procstats
Package procstats reads what a benchmark process costs: CPU time, resident memory, Go heap, goroutines, and, inside a cgroup v2 container, the container's own CPU and memory accounting.
|
Package procstats reads what a benchmark process costs: CPU time, resident memory, Go heap, goroutines, and, inside a cgroup v2 container, the container's own CPU and memory accounting. |
|
atunnel/internal/report
Package report holds what a benchmark run measured and prints it.
|
Package report holds what a benchmark run measured and prints it. |
|
atunnel/internal/sink
Package sink holds the peers atunnel talks to in the benchmark: the ingress actor in each actor's sandbox, behind ingress, and the fake egress gateway, behind egress.
|
Package sink holds the peers atunnel talks to in the benchmark: the ingress actor in each actor's sandbox, behind ingress, and the fake egress gateway, behind egress. |
|
atunnel/internal/workerhost
Package workerhost hosts atunnel the way an ateworker does, with the worker's own code: atunnel.Start once, then per actor the calls cmd/ateworker-gvisor makes to run one, in its order.
|
Package workerhost hosts atunnel the way an ateworker does, with the worker's own code: atunnel.Start once, then per actor the calls cmd/ateworker-gvisor makes to run one, in its order. |
|
cmd
|
|
|
ate-idp-server
command
Command ate-idp-server serves the OpenID Connect discovery document and JWK set that relying parties use to verify actor JWTs.
|
Command ate-idp-server serves the OpenID Connect discovery document and JWK set that relying parties use to verify actor JWTs. |
|
ate-idp-server/internal/server
Package server serves the actor JWT issuer's OpenID discovery document and JWK set.
|
Package server serves the actor JWT issuer's OpenID discovery document and JWK set. |
|
ate-setup
command
Command ate-setup installs and tears down Agent Substrate on a Kubernetes cluster.
|
Command ate-setup installs and tears down Agent Substrate on a Kubernetes cluster. |
|
ate-setup/internal/cmd
Package cmd implements the ate-setup command tree.
|
Package cmd implements the ate-setup command tree. |
|
ate-setup/internal/config
Package config resolves the environment ate-setup installs into.
|
Package config resolves the environment ate-setup installs into. |
|
ate-setup/internal/demos
Package demos holds the contract every bundled demo implements, the registry the command tree is built from, and the shared behavior of a demo that is one manifest template.
|
Package demos holds the contract every bundled demo implements, the registry the command tree is built from, and the shared behavior of a demo that is one manifest template. |
|
ate-setup/internal/demos/all
Package all links every bundled demo into the binary.
|
Package all links every bundled demo into the binary. |
|
ate-setup/internal/demos/claudemultiplex
Package claudemultiplex installs the claude-code-multiplex demo, which runs several Claude Code agents side by side on one WorkerPool.
|
Package claudemultiplex installs the claude-code-multiplex demo, which runs several Claude Code agents side by side on one WorkerPool. |
|
ate-setup/internal/demos/counter
Package counter installs the counter demo: a counter actor exercising snapshot, resume, and atenet ingress, optionally with an external volume attached so the CSI path is covered end to end.
|
Package counter installs the counter demo: a counter actor exercising snapshot, resume, and atenet ingress, optionally with an external volume attached so the CSI path is covered end to end. |
|
ate-setup/internal/demos/countermicrovm
Package countermicrovm installs the micro-VM variant of the counter demo.
|
Package countermicrovm installs the micro-VM variant of the counter demo. |
|
ate-setup/internal/demos/demotest
Package demotest provides the fixtures the demo packages share in their tests: an Env that needs no cluster, and the assertion that a rendered template is a complete manifest.
|
Package demotest provides the fixtures the demo packages share in their tests: an Env that needs no cluster, and the assertion that a rendered template is a complete manifest. |
|
ate-setup/internal/demos/egress
Package egress installs the egress demo, which exercises egress policy enforcement through atenet.
|
Package egress installs the egress demo, which exercises egress policy enforcement through atenet. |
|
ate-setup/internal/demos/egressmicrovm
Package egressmicrovm installs the micro-VM variant of the egress demo.
|
Package egressmicrovm installs the micro-VM variant of the egress demo. |
|
ate-setup/internal/demos/jupyter
Package jupyter installs the Jupyter demo, which runs an unmodified jupyter/base-notebook image as an actor that suspends when idle and resumes when the notebook is next opened.
|
Package jupyter installs the Jupyter demo, which runs an unmodified jupyter/base-notebook image as an actor that suspends when idle and resumes when the notebook is next opened. |
|
ate-setup/internal/demos/multitemplate
Package multitemplate installs the multi-template demo, where two ActorTemplates in two different atespaces share a single WorkerPool.
|
Package multitemplate installs the multi-template demo, where two ActorTemplates in two different atespaces share a single WorkerPool. |
|
ate-setup/internal/demos/parking
Package parking installs the parking demo, which parks and unparks actors on a small WorkerPool.
|
Package parking installs the parking demo, which parks and unparks actors on a small WorkerPool. |
|
ate-setup/internal/demos/sandbox
Package sandbox installs the sandbox demo: an ActorTemplate driven on demand by the sandbox client rather than by a long-lived workload.
|
Package sandbox installs the sandbox demo: an ActorTemplate driven on demand by the sandbox client rather than by a long-lived workload. |
|
ate-setup/internal/images
Package images decides where ate-setup gets container images from.
|
Package images decides where ate-setup gets container images from. |
|
ate-setup/internal/ko
Package ko builds and publishes images referenced by manifests, replacing the run_ko helper in the shell installer.
|
Package ko builds and publishes images referenced by manifests, replacing the run_ko helper in the shell installer. |
|
ate-setup/internal/kube
Package kube provides the cluster operations ate-setup needs, replacing the kubectl invocations the install shell scripts made.
|
Package kube provides the cluster operations ate-setup needs, replacing the kubectl invocations the install shell scripts made. |
|
ate-setup/internal/kustomize
Package kustomize renders the overlays under manifests/ate-install, standing in for `kubectl kustomize <dir> --load-restrictor LoadRestrictionsNone`.
|
Package kustomize renders the overlays under manifests/ate-install, standing in for `kubectl kustomize <dir> --load-restrictor LoadRestrictionsNone`. |
|
ate-setup/internal/log
Package log prints install progress, preserving the "[step]: name" output the shell scripts produced so existing CI log scrapers keep working.
|
Package log prints install progress, preserving the "[step]: name" output the shell scripts produced so existing CI log scrapers keep working. |
|
ate-setup/internal/render
Package render expands the demos' *.yaml.tmpl files.
|
Package render expands the demos' *.yaml.tmpl files. |
|
ate-setup/internal/steps
Package steps holds the install and teardown operations that the shell installer implemented as bash functions.
|
Package steps holds the install and teardown operations that the shell installer implemented as bash functions. |
|
ateapi
command
|
|
|
ateapi/internal/apiauthn
Package apiauthn authenticates clients of the ateapi gRPC server, and provides a matching client dial helper.
|
Package apiauthn authenticates clients of the ateapi gRPC server, and provides a matching client dial helper. |
|
ateapi/internal/ateletauth
Package ateletauth authenticates RPCs that arrive from an atelet, for the ateapi services served only to atelet.
|
Package ateletauth authenticates RPCs that arrive from an atelet, for the ateapi services served only to atelet. |
|
ateapi/internal/ateletauth/ateletauthtest
Package ateletauthtest builds the peer contexts that the ateapi services served only to atelet authenticate against.
|
Package ateletauthtest builds the peer contexts that the ateapi services served only to atelet authenticate against. |
|
ateapi/internal/defaults
Package defaults applies each resource's field defaults in place.
|
Package defaults applies each resource's field defaults in place. |
|
ateapi/internal/scheduling
Package scheduling decides which worker should host an actor.
|
Package scheduling decides which worker should host an actor. |
|
ateapi/internal/store
Package store contains common types for the persistence layer.
|
Package store contains common types for the persistence layer. |
|
ateapi/internal/store/atepg
Package atepg is an ate storage backend built on PostgreSQL.
|
Package atepg is an ate storage backend built on PostgreSQL. |
|
ateapi/internal/store/dockerenv
Package dockerenv points testcontainers at the active Docker context.
|
Package dockerenv points testcontainers at the active Docker context. |
|
ateapi/internal/store/storecontract
Package storecontract provides backend-neutral assertions for store.Interface implementations.
|
Package storecontract provides backend-neutral assertions for store.Interface implementations. |
|
ateapi/internal/store/storetest
Package storetest provides isolated PostgreSQL-backed stores for tests.
|
Package storetest provides isolated PostgreSQL-backed stores for tests. |
|
ateapi/internal/workercache
Package workercache maintains an in-memory view of all workers, kept current via store.Interface.WatchWorkers.
|
Package workercache maintains an in-memory view of all workers, kept current via store.Interface.WatchWorkers. |
|
ateapi/internal/workerservice
Package workerservice serves the RPCs a Worker uses to tell the control plane about itself and what it observes.
|
Package workerservice serves the RPCs a Worker uses to tell the control plane about itself and what it observes. |
|
atecontroller
command
|
|
|
atecontroller/internal/workersync
Package workersync reconciles Kubernetes worker pods into the Worker registry behind the ateapi Control API.
|
Package workersync reconciles Kubernetes worker pods into the Worker registry behind the ateapi Control API. |
|
atelet
command
|
|
|
atelet/internal/actordirs
Package actordirs manages each actor's on-node directory tree.
|
Package actordirs manages each actor's on-node directory tree. |
|
atelet/internal/apivalidation
Package apivalidation holds the declarative validation generated for the atelet RPC surface.
|
Package apivalidation holds the declarative validation generated for the atelet RPC surface. |
|
atelet/internal/ateletpath
Package ateletpath is atelet's on-node layout: the per-actor directories it passes to worker as ActorDirs, and the directories only atelet uses.
|
Package ateletpath is atelet's on-node layout: the per-actor directories it passes to worker as ActorDirs, and the directories only atelet uses. |
|
atelet/internal/atomicfile
Package atomicfile writes files that readers never observe partly written.
|
Package atomicfile writes files that readers never observe partly written. |
|
atelet/internal/credentialprovider
Package credentialprovider resolves registry credentials by invoking kubelet image credential provider plugins (https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/).
|
Package credentialprovider resolves registry credentials by invoking kubelet image credential provider plugins (https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/). |
|
atelet/internal/filecache
Package filecache is a node-local disk cache of downloaded artifacts, keyed by opaque identities (see Key).
|
Package filecache is a node-local disk cache of downloaded artifacts, keyed by opaque identities (see Key). |
|
atelet/internal/filecachegc
Package filecachegc runs the eviction loop of a node-local file cache: a filecache store with a byte budget, evicted least recently used first, down to a low-water fraction of the budget, never taking an entry a consumer still links.
|
Package filecachegc runs the eviction loop of a node-local file cache: a filecache store with a byte budget, evicted least recently used first, down to a low-water fraction of the budget, never taking an entry a consumer still links. |
|
atelet/internal/snapshottracker
Package snapshottracker tracks each actor's snapshots on an atelet node, uploads and detaches them in the background, and reports what those change to the control plane.
|
Package snapshottracker tracks each actor's snapshots on an atelet node, uploads and detaches them in the background, and reports what those change to the control plane. |
|
atelet/internal/sparsefile
Package sparsefile copies files while preserving holes, and measures the disk space a file's data takes.
|
Package sparsefile copies files while preserving holes, and measures the disk space a file's data takes. |
|
atelet/internal/trustbundle
Package trustbundle resolves the trust bundle names that actors may project into system-info volumes to PEM certificate bundles.
|
Package trustbundle resolves the trust bundle names that actors may project into system-info volumes to PEM certificate bundles. |
|
atenet
command
|
|
|
atenet/internal/router/egress
Package egress implements the ext_proc handler for outbound actor traffic.
|
Package egress implements the ext_proc handler for outbound actor traffic. |
|
atenet/internal/router/egress/actorjwt
Package actorjwt mints the actor JWTs that egress policies inject.
|
Package actorjwt mints the actor JWTs that egress policies inject. |
|
atenet/internal/router/extproc
Package extproc implements the external processing (ext_proc) gRPC server that the atenet router serves to its dataplane gateways.
|
Package extproc implements the external processing (ext_proc) gRPC server that the atenet router serves to its dataplane gateways. |
|
atenet/internal/router/ingress
Package ingress implements the ext_proc handler for traffic arriving at the ingress gateway: it resolves the actor a request is addressed to, resumes it through the control plane (parking the request while the worker pool is saturated), and points the dataplane at the worker that ends up hosting it.
|
Package ingress implements the ext_proc handler for traffic arriving at the ingress gateway: it resolves the actor a request is addressed to, resumes it through the control plane (parking the request while the worker pool is saturated), and points the dataplane at the worker that ends up hosting it. |
|
atenet/internal/sdsmint
Delta SDS: the stateful, per-connection half of the server.
|
Delta SDS: the stateful, per-connection half of the server. |
|
ateworker-gvisor
command
|
|
|
ateworker-gvisor/internal/cdiinject
Package cdiinject applies CDI container edits to an actor's OCI bundle.
|
Package cdiinject applies CDI container edits to an actor's OCI bundle. |
|
ateworker-gvisor/internal/cgroupstats
Package cgroupstats reads resource usage out of a cgroup v2 directory.
|
Package cgroupstats reads resource usage out of a cgroup v2 directory. |
|
ateworker-microvm
command
Command ateworker-microvm is the kata + cloud-hypervisor micro-VM implementation of the ateworkerpb.Worker service, a peer to cmd/ateworker-gvisor.
|
Command ateworker-microvm is the kata + cloud-hypervisor micro-VM implementation of the ateworkerpb.Worker service, a peer to cmd/ateworker-gvisor. |
|
ateworker-microvm/internal/agentstats
Package agentstats turns the kata guest agent's per-container cgroup accounting into the resource-usage sample ateworker reports.
|
Package agentstats turns the kata guest agent's per-container cgroup accounting into the resource-usage sample ateworker reports. |
|
ateworker-microvm/internal/ch
Package ch drives a single cloud-hypervisor instance over its REST api-socket: pause, snapshot, resume against a running VMM (e.g.
|
Package ch drives a single cloud-hypervisor instance over its REST api-socket: pause, snapshot, resume against a running VMM (e.g. |
|
ateworker-microvm/internal/child
Package child runs the long-lived subprocesses ateworker-microvm owns, and reaps each as soon as it exits.
|
Package child runs the long-lived subprocesses ateworker-microvm owns, and reaps each as soon as it exits. |
|
ateworker-microvm/internal/kata
Package kata holds the helpers ateworker uses to boot and drive a kata guest in a cloud-hypervisor micro-VM without the kata shim: ateworker boots cloud-hypervisor itself (see internal/ch), then drives the stock kata-agent over its hybrid-vsock ttrpc API (DialAgent / AgentClient) to create the sandbox and run each container on its host-merged rootfs (overlay_linux.go).
|
Package kata holds the helpers ateworker uses to boot and drive a kata guest in a cloud-hypervisor micro-VM without the kata shim: ateworker boots cloud-hypervisor itself (see internal/ch), then drives the stock kata-agent over its hybrid-vsock ttrpc API (DialAgent / AgentClient) to create the sandbox and run each container on its host-merged rootfs (overlay_linux.go). |
|
benchmarking/boomer-worker
command
boomer-worker is the Go re-implementation of the GluttonUser locust test.
|
boomer-worker is the Go re-implementation of the GluttonUser locust test. |
|
benchmarking/egress
command
benchmark-egress is the workload of the egress scale test, which holds many CONNECT tunnels open through the egress gateway at a fixed pace and measures what they cost.
|
benchmark-egress is the workload of the egress scale test, which holds many CONNECT tunnels open through the egress gateway at a fixed pace and measures what they cost. |
|
benchmarking/egress/internal/cmd/actor
Package actor is the workload of the egress scale test: the subcommand that holds one tunnel per endpoint open through the egress gateway and counts what happened.
|
Package actor is the workload of the egress scale test: the subcommand that holds one tunnel per endpoint open through the egress gateway and counts what happened. |
|
benchmarking/egress/internal/cmd/target
Package target is the endpoint every tunnel of the egress scale test leads to: the subcommand that answers each request with a small fixed body.
|
Package target is the endpoint every tunnel of the egress scale test leads to: the subcommand that answers each request with a small fixed body. |
|
benchmarking/egress/internal/targetcert
Package targetcert issues the name-constrained CA and the certificate the target serves over HTTPS, for the driver to deploy and the actor to verify against.
|
Package targetcert issues the name-constrained CA and the certificate the target serves over HTTPS, for the driver to deploy and the actor to verify against. |
|
benchmarking/glutton
command
glutton is a small benchmarking workload that exposes a gRPC API for consuming RAM, disk, and file descriptors, and for gossiping with other glutton instances.
|
glutton is a small benchmarking workload that exposes a gRPC API for consuming RAM, disk, and file descriptors, and for gossiping with other glutton instances. |
|
benchmarking/isolate/fake-atelet
command
Command fake-atelet stands in for atelet in control-plane benchmarks.
|
Command fake-atelet stands in for atelet in control-plane benchmarks. |
|
benchmarking/isolate/fake-workersync
command
Command fake-workersync stands in for atecontroller's WorkerPool controller and worker syncer in control-plane benchmarks.
|
Command fake-workersync stands in for atecontroller's WorkerPool controller and worker syncer in control-plane benchmarks. |
|
benchmarking/isolate/internal/fakeworker
Package fakeworker holds what the two programs of the benchmark fake data plane share: how a fake Worker's stand-in pod is named and placed, and how each checks the other's identity on the capacity relay between them.
|
Package fakeworker holds what the two programs of the benchmark fake data plane share: how a fake Worker's stand-in pod is named and placed, and how each checks the other's identity on the capacity relay between them. |
|
benchmarking/isolate/internal/fakeworker/fakeworkertest
Package fakeworkertest issues pod-identity-shaped certificates for tests of the fake data plane's capacity relay: a throwaway CA, and leaf certificates that carry a SPIFFE ID as their only SAN, as the pod-identity signer's do.
|
Package fakeworkertest issues pod-identity-shaped certificates for tests of the fake data plane's capacity relay: a throwaway CA, and leaf certificates that carry a SPIFFE ID as their only SAN, as the pod-identity signer's do. |
|
credential-provider/kubernetes-secrets
command
This file implements the CredentialProvider plugin API backed by Kubernetes Secrets.
|
This file implements the CredentialProvider plugin API backed by Kubernetes Secrets. |
|
kubectl-ate
command
|
|
|
objectstore-plugin
command
Command objectstore-plugin serves the object-store plugin API on GCS or S3 over a Unix socket.
|
Command objectstore-plugin serves the object-store plugin API on GCS or S3 over a Unix socket. |
|
podcertcontroller
command
Command podcertcontroller is a pod certificate controller that implements three signers.
|
Command podcertcontroller is a pod certificate controller that implements three signers. |
|
podcertcontroller/internal/postgressigner
Package postgressigner issues database login certificates to the API server.
|
Package postgressigner issues database login certificates to the API server. |
|
podcertcontroller/internal/rendezvous
Package rendezvous uses rendezvous hashing to help multiple controller replicas agree on which replica should handle an item.
|
Package rendezvous uses rendezvous hashing to help multiple controller replicas agree on which replica should handle an item. |
|
demos
|
|
|
claude-code-multiplex/ui
command
Demo UI server — substrate multiplex visualization.
|
Demo UI server — substrate multiplex visualization. |
|
counter
command
Command counter is a simple server that will be used as a worker pod.
|
Command counter is a simple server that will be used as a worker pod. |
|
egress
command
Command egress is a small HTTP service for demonstrating per-Actor egress policy.
|
Command egress is a small HTTP service for demonstrating per-Actor egress policy. |
|
multi-template/fspersist
command
Command fspersist is a simple server used as an actor workload.
|
Command fspersist is a simple server used as an actor workload. |
|
sandbox
command
|
|
|
sandbox/client
command
|
|
|
internal
|
|
|
actorevent
Package actorevent emits the actor events: the lifecycle events and the usage samples.
|
Package actorevent emits the actor events: the lifecycle events and the usage samples. |
|
actorlock
Package actorlock serializes lifecycle RPCs per actor.
|
Package actorlock serializes lifecycle RPCs per actor. |
|
actorlog
Package actorlog provides structured JSON logging for actor sandboxes shared by the gVisor and micro-VM worker runtimes.
|
Package actorlog provides structured JSON logging for actor sandboxes shared by the gVisor and micro-VM worker runtimes. |
|
apierror
Package apierror holds the errors a substrate server deliberately returns to its caller.
|
Package apierror holds the errors a substrate server deliberately returns to its caller. |
|
ateattr
Package ateattr is the single source of truth for substrate's ate.* telemetry attributes: the identity keys stamped on spans/logs, and the bounded value sets used as metric labels.
|
Package ateattr is the single source of truth for substrate's ate.* telemetry attributes: the identity keys stamped on spans/logs, and the bounded value sets used as metric labels. |
|
atelet
Package atelet contains shared constants and definitions that are used across Substrate components related to atelet.
|
Package atelet contains shared constants and definitions that are used across Substrate components related to atelet. |
|
ateletdial
Package ateletdial connects a worker Pod to the atelet on its own node over the node-local socket, authenticating both ends by Pod certificate.
|
Package ateletdial connects a worker Pod to the atelet on its own node over the node-local socket, authenticating both ends by Pod certificate. |
|
atenet
Package atenet defines the shared contract for Substrate actor networking.
|
Package atenet defines the shared contract for Substrate actor networking. |
|
ateworker/actornet
Package actornet provides shared networking configuration logic for Substrate runtime agents.
|
Package actornet provides shared networking configuration logic for Substrate runtime agents. |
|
ateworker/cgroup
Package cgroup delegates the worker pod's cgroup to the worker so each actor can get a leaf of its own.
|
Package cgroup delegates the worker pod's cgroup to the worker so each actor can get a leaf of its own. |
|
ateworker/memborrow
Package memborrow lends snapshot writes the worker pod's unbooked, free memory for their page cache, and holds back placements that would grow into it until it is written back.
|
Package memborrow lends snapshot writes the worker pod's unbooked, free memory for their page cache, and holds back placements that would grow into it until it is written back. |
|
ateworker/phaselog
Package phaselog renders the per-actor "timing breakdown" log record an worker emits for each checkpoint and restore.
|
Package phaselog renders the per-actor "timing breakdown" log record an worker emits for each checkpoint and restore. |
|
ateworker/pid1
Package pid1 runs a minimal init as PID 1 so worker doesn't have to.
|
Package pid1 runs a minimal init as PID 1 so worker doesn't have to. |
|
ateworker/register
Package register registers a worker process with the control plane through the node-local atelet: it acquires an epoch, registers once with that epoch, its pod IPs and its compute capacity, then reports the sandbox runtimes of its pool.
|
Package register registers a worker process with the control plane through the node-local atelet: it acquires an epoch, registers once with that epoch, its pod IPs and its compute capacity, then reports the sandbox runtimes of its pool. |
|
ateworker/suspend
Package suspend asks the control plane, through the node-local atelet, to suspend an actor a worker hosts.
|
Package suspend asks the control plane, through the node-local atelet, to suspend an actor a worker hosts. |
|
ateworkervalidation
Package ateworkervalidation holds the declarative validation generated for the Worker RPC surface.
|
Package ateworkervalidation holds the declarative validation generated for the Worker RPC surface. |
|
atunnel
Package atunnel wires the tunnel into a worker: its flags, listeners, DNS relay, and per-actor ingress and egress.
|
Package atunnel wires the tunnel into a worker: its flags, listeners, DNS relay, and per-actor ingress and egress. |
|
atunnel/dns
Package dns answers an actor's DNS from its sandbox's gateway namespace.
|
Package dns answers an actor's DNS from its sandbox's gateway namespace. |
|
atunnel/dns/freemap
Package freemap implements an efficient mechanism for maintaining a map of free slots.
|
Package freemap implements an efficient mechanism for maintaining a map of free slots. |
|
atunnel/dns/protocol
Package protocol contains helpers to manage encoding/decoding DNS protocol to/from a byte array.
|
Package protocol contains helpers to manage encoding/decoding DNS protocol to/from a byte array. |
|
atunnel/ingress
Package ingress carries actor ingress through a worker pod.
|
Package ingress carries actor ingress through a worker pod. |
|
benchmarking/boomer/agentsession
Package agentsession implements the AgentSessionUser locust test: each VU is one coding-agent session replaying a scripted step sequence (a YAML file under scripts/, selected by --agentsession-script) against a glutton actor.
|
Package agentsession implements the AgentSessionUser locust test: each VU is one coding-agent session replaying a scripted step sequence (a YAML file under scripts/, selected by --agentsession-script) against a glutton actor. |
|
benchmarking/boomer/ateenv
Package ateenv implements the boomer-Go user class for the ate-env benchmark workload (see benchmarking/locust/tests/ate_env.py for the locust harness stub).
|
Package ateenv implements the boomer-Go user class for the ate-env benchmark workload (see benchmarking/locust/tests/ate_env.py for the locust harness stub). |
|
benchmarking/boomer/dynconfig
Package dynconfig fetches and holds the boomer worker's runtime-mutable settings: the locust flags the operator can change in the web UI form.
|
Package dynconfig fetches and holds the boomer worker's runtime-mutable settings: the locust flags the operator can change in the web UI form. |
|
benchmarking/boomer/glutton
Package glutton implements the boomer-Go re-implementation of the GluttonUser locust test (see the legacy Python in benchmarking/locust/tests/glutton.py for the reference behavior).
|
Package glutton implements the boomer-Go re-implementation of the GluttonUser locust test (see the legacy Python in benchmarking/locust/tests/glutton.py for the reference behavior). |
|
benchmarking/boomer/metrics
Package metrics mirrors the Prometheus surface emitted by benchmarking/locust/common/metrics.py — same metric names and labels so dashboards built against the Python locust workers keep working when the load source is a boomer-Go worker.
|
Package metrics mirrors the Prometheus surface emitted by benchmarking/locust/common/metrics.py — same metric names and labels so dashboards built against the Python locust workers keep working when the load source is a boomer-Go worker. |
|
benchmarking/boomer/resumepaused
Package resumepaused drives ate-api-server's cold resume path: every ResumeActor targets a suspended actor, so ateapi takes the actor lease, binds a worker, and waits on an atelet restore.
|
Package resumepaused drives ate-api-server's cold resume path: every ResumeActor targets a suspended actor, so ateapi takes the actor lease, binds a worker, and waits on an atelet restore. |
|
benchmarking/boomer/trace
Package trace wires the OTLP tracer + W3C propagator used by the boomer load-test workers.
|
Package trace wires the OTLP tracer + W3C propagator used by the boomer load-test workers. |
|
benchmarking/glutton
Package glutton implements the benchmarking workload served by cmd/benchmarking/glutton: an API for consuming RAM, disk, and file descriptors, and for gossiping with other glutton instances, over either gRPC or protobuf-over-HTTP.
|
Package glutton implements the benchmarking workload served by cmd/benchmarking/glutton: an API for consuming RAM, disk, and file descriptors, and for gossiping with other glutton instances, over either gRPC or protobuf-over-HTTP. |
|
benchmarking/glutton/fake
Package fake provides an httptest-backed stand-in for a glutton actor.
|
Package fake provides an httptest-backed stand-in for a glutton actor. |
|
bootid
Package bootid reads the node's boot ID.
|
Package bootid reads the node's boot ID. |
|
cdi
Package cdi reads a Container Device Interface spec and resolves what a named set of devices asks a container runtime to do.
|
Package cdi reads a Container Device Interface spec and resolves what a named set of devices asks a container runtime to do. |
|
clustertrustbundle
Package clustertrustbundle supports stable and beta Kubernetes trust bundle APIs.
|
Package clustertrustbundle supports stable and beta Kubernetes trust bundle APIs. |
|
credbundle
Package credbundle handles credential bundle files written by Kubernetes Pod Certificates.
|
Package credbundle handles credential bundle files written by Kubernetes Pod Certificates. |
|
deviceplugin
Package deviceplugin advertises host device nodes (for example /dev/kvm) to kubelet as extended resources, so a worker pod can be granted just those devices instead of running privileged.
|
Package deviceplugin advertises host device nodes (for example /dev/kvm) to kubelet as extended resources, so a worker pod can be granted just those devices instead of running privileged. |
|
e2e/fixtures/probe
command
Command probe is a minimal introspection actor used by the e2e suites.
|
Command probe is a minimal introspection actor used by the e2e suites. |
|
e2e/fixtures/testserver
command
Command testserver is the one binary behind every plain helper pod the egress e2e suites stand up.
|
Command testserver is the one binary behind every plain helper pod the egress e2e suites stand up. |
|
egresspolicy
Package egresspolicy evaluates an Actor's EgressPolicy against a destination.
|
Package egresspolicy evaluates an Actor's EgressPolicy against a destination. |
|
hardware
Package hardware probes host hardware compatibility attributes and evaluates sandbox runtime compatibility between workers and snapshots.
|
Package hardware probes host hardware compatibility attributes and evaluates sandbox runtime compatibility between workers and snapshots. |
|
imagecache
Package imagecache implements the node-local OCI image cache: a content-addressed pool of unpacked image layers shared by every actor on the node, plus the per-bundle overlay spec that tells the worker runtimes how to compose an actor rootfs from cached layers.
|
Package imagecache implements the node-local OCI image cache: a content-addressed pool of unpacked image layers shared by every actor on the node, plus the per-bundle overlay spec that tells the worker runtimes how to compose an actor rootfs from cached layers. |
|
installdefaults
Package installdefaults holds the default namespace and Service names that match the canonical install layout in manifests/ate-install/.
|
Package installdefaults holds the default namespace and Service names that match the canonical install layout in manifests/ate-install/. |
|
linuxsys
Package linuxsys adapts Linux-specific syscalls and socket options for the rest of Substrate.
|
Package linuxsys adapts Linux-specific syscalls and socket options for the rest of Substrate. |
|
localca
Package localca implements a CA whose state can be stored in a local file or Kubernetes secret.
|
Package localca implements a CA whose state can be stored in a local file or Kubernetes secret. |
|
localjwtauthority
Package localjwtauthority implements a simple "CA" for JWTs.
|
Package localjwtauthority implements a simple "CA" for JWTs. |
|
netns
Package netns contains Linux network namespace-related functionality.
|
Package netns contains Linux network namespace-related functionality. |
|
nodepath
Package nodepath holds the node-level paths more than one component needs: the host directory atelet and the workers both mount, the sockets and netns they find each other by, the per-actor parent directories, and where atelet stages runtime binaries.
|
Package nodepath holds the node-level paths more than one component needs: the host directory atelet and the workers both mount, the sockets and netns they find each other by, the per-actor parent directories, and where atelet stages runtime binaries. |
|
objectstore
Package objectstore manages the existence of the objects an external snapshot is made of: listing them, copying them, and deleting them once nothing owns them any more.
|
Package objectstore manages the existence of the objects an external snapshot is made of: listing them, copying them, and deleting them once nothing owns them any more. |
|
objectstore/objectstoretest
Package objectstoretest provides an in-memory objectstore.Store for tests that need to observe which external snapshots a flow created and released.
|
Package objectstoretest provides an in-memory objectstore.Store for tests that need to observe which external snapshots a flow created and released. |
|
objectstoreplugin
Package objectstoreplugin implements the object-store plugin API on GCS or S3 object storage, using the plugin's own credentials.
|
Package objectstoreplugin implements the object-store plugin API on GCS or S3 object storage, using the plugin's own credentials. |
|
objectstoreplugin/actorauthz
Package actorauthz holds the checks every provider's credential exchange must apply to a worker-for-actor JWT before it issues any credential.
|
Package actorauthz holds the checks every provider's credential exchange must apply to a worker-for-actor JWT before it issues any credential. |
|
objectstoreplugin/actorlookup
Package actorlookup fetches the actor an exchange request names from ate-api-server.
|
Package actorlookup fetches the actor an exchange request names from ate-api-server. |
|
objectstoreplugin/actorscope
Package actorscope derives the object-storage prefixes an actor's transfers may touch from the actor record, with the access each needs.
|
Package actorscope derives the object-storage prefixes an actor's transfers may touch from the actor record, with the access each needs. |
|
objectstoreplugin/credential
Package credential holds the credential type the exchange hands out and its issuers produce.
|
Package credential holds the credential type the exchange hands out and its issuers produce. |
|
objectstoreplugin/exchange
Package exchange serves this plugin's credential exchange.
|
Package exchange serves this plugin's credential exchange. |
|
objectstoreplugin/exchangeclient
Package exchangeclient is the GCS node plugin's side of the credential exchange.
|
Package exchangeclient is the GCS node plugin's side of the credential exchange. |
|
objectstoreplugin/gcsboundary
Package gcsboundary turns actor grants into the Credential Access Boundary rules a downscoped GCS token carries.
|
Package gcsboundary turns actor grants into the Credential Access Boundary rules a downscoped GCS token carries. |
|
objectstoreplugin/gcsissuer
Package gcsissuer mints GCS tokens downscoped to an actor's grants.
|
Package gcsissuer mints GCS tokens downscoped to an actor's grants. |
|
objectstoreplugin/objectstoreplugintest
Package objectstoreplugintest provides object-store plugin clients that call the object-store plugins directly, without a socket, for tests that drive atelet or ate-api-server through the real plugin.
|
Package objectstoreplugintest provides object-store plugin clients that call the object-store plugins directly, without a socket, for tests that drive atelet or ate-api-server through the real plugin. |
|
ocispec
Package ocispec builds the runtime-neutral OCI spec for actor bundles, which each worker shapes for its runtime.
|
Package ocispec builds the runtime-neutral OCI spec for actor bundles, which each worker shapes for its runtime. |
|
oidcjwt
Package oidcjwt verifies JWTs using OIDC discovery.
|
Package oidcjwt verifies JWTs using OIDC discovery. |
|
otlprelay
Package otlprelay carries worker's OTLP telemetry to the collector over a unix socket served by atelet, so a worker pod needs no network path of its own to export spans, metrics, and log records.
|
Package otlprelay carries worker's OTLP telemetry to the collector over a unix socket served by atelet, so a worker pod needs no network path of its own to export spans, metrics, and log records. |
|
pemutil
Package pemutil sanitizes PEM certificate bundles for projection into actors, the way kubelet does for clusterTrustBundle projected volumes.
|
Package pemutil sanitizes PEM certificate bundles for projection into actors, the way kubelet does for clusterTrustBundle projected volumes. |
|
pidfd
Package pidfd watches for processes to exit without holding a thread per process, so a worker can watch thousands of them.
|
Package pidfd watches for processes to exit without holding a thread per process, so a worker can watch thousands of them. |
|
pluginsocket
Package pluginsocket connects a server to its plugin sidecar over a Unix socket.
|
Package pluginsocket connects a server to its plugin sidecar over a Unix socket. |
|
podidentity
Package podidentity requests certificates from substrate's podidentity signer for processes that do not run in a pod.
|
Package podidentity requests certificates from substrate's podidentity signer for processes that do not run in a pod. |
|
portforward
Package portforward tunnels to the pods behind a Service.
|
Package portforward tunnels to the pods behind a Service. |
|
preview
Package preview manages preview feature gates enabled via the --preview flag.
|
Package preview manages preview feature gates enabled via the --preview flag. |
|
protoredact
Package protoredact masks the fields of a protobuf message that are marked [debug_redact = true] in the schema, so the message can be logged without exposing the secrets it carries.
|
Package protoredact masks the fields of a protobuf message that are marked [debug_redact = true] in the schema, so the message can be logged without exposing the secrets it carries. |
|
roottest
Package roottest gates tests that need root privileges (mounts, mknod, trusted.* xattrs, ...).
|
Package roottest gates tests that need root privileges (mounts, mknod, trusted.* xattrs, ...). |
|
sandboxruntimes
Package sandboxruntimes reads and writes a worker's sandbox runtimes file, which atelet keeps in the worker's directory (nodepath.WorkerPath) as nodepath.SandboxRuntimesFileName.
|
Package sandboxruntimes reads and writes a worker's sandbox runtimes file, which atelet keeps in the worker's directory (nodepath.WorkerPath) as nodepath.SandboxRuntimesFileName. |
|
serverboot
Package serverboot collects the startup boilerplate shared by the long-running substrate server binaries (ateapi, atelet, ateworker-gvisor, ateworker-microvm): slog wiring, OTel tracer + meter providers, a Prometheus /metrics server, a /readyz and /healthz server for the kubelet probes, and a couple of small helpers for startup fail-fast.
|
Package serverboot collects the startup boilerplate shared by the long-running substrate server binaries (ateapi, atelet, ateworker-gvisor, ateworker-microvm): slog wiring, OTel tracer + meter providers, a Prometheus /metrics server, a /readyz and /healthz server for the kubelet probes, and a couple of small helpers for startup fail-fast. |
|
sizing
Package sizing right-sizes a sandbox to the actor's declared resource limits.
|
Package sizing right-sizes a sandbox to the actor's declared resource limits. |
|
snapshotcache
Package snapshotcache disposes of staged restore files and evicts preserved snapshot files from the host page cache after an actor restore completes.
|
Package snapshotcache disposes of staged restore files and evicts preserved snapshot files from the host page cache after an actor restore completes. |
|
substratex509
Package substratex509 contains routines for creating and parsing x509 certificates that embed Substrate-specific X.509 extensions communicating the identity of a given workload.
|
Package substratex509 contains routines for creating and parsing x509 certificates that embed Substrate-specific X.509 extensions communicating the identity of a given workload. |
|
tarutil
Package tarutil archives and restores a directory tree as a tar file, preserving the metadata a workload's data directory depends on: modes, ownership, modification times, symlinks, hardlinks, FIFOs, overlay whiteouts, and user.* / overlay extended attributes (as PAX SCHILY.xattr records).
|
Package tarutil archives and restores a directory tree as a tar file, preserving the metadata a workload's data directory depends on: modes, ownership, modification times, symlinks, hardlinks, FIFOs, overlay whiteouts, and user.* / overlay extended attributes (as PAX SCHILY.xattr records). |
|
testenv
Package testenv starts the envtest (kubebuilder) control plane shared by the repo's apiserver-backed test packages.
|
Package testenv starts the envtest (kubebuilder) control plane shared by the repo's apiserver-backed test packages. |
|
version
Package version exposes build-time identity for substrate binaries.
|
Package version exposes build-time identity for substrate binaries. |
|
volumepath
Package volumepath holds the rule for the relative paths at which substrate projects files into an actor's volumes.
|
Package volumepath holds the rule for the relative paths at which substrate projects files into an actor's volumes. |
|
wakeupprobe
Package wakeupprobe polls a container's HTTP wakeup endpoint from inside an worker.
|
Package wakeupprobe polls a container's HTTP wakeup endpoint from inside an worker. |
|
workercapacity
Package workercapacity names the files the atecontroller projects into the worker container from the downward API, in millicores and bytes.
|
Package workercapacity names the files the atecontroller projects into the worker container from the downward API, in millicores and bytes. |
|
workerstats
Package workerstats holds the usage telemetry both worker runtimes share: the attribution a worker retains for each actor, the per-activation state behind every sample, the sampler, and the ate.actor.usage_sampled records.
|
Package workerstats holds the usage telemetry both worker runtimes share: the attribution a worker retains for each actor, the per-activation state behind every sample, the sampler, and the ate.actor.usage_sampled records. |
|
workerstats/workerstatstest
Package workerstatstest records the usage records a worker writes, for tests.
|
Package workerstatstest records the usage records a worker writes, for tests. |
|
pkg
|
|
|
assetfetch
Package assetfetch holds the checks every object-store plugin applies when it serves AssetProvider.FetchAsset, whatever its storage backend:
|
Package assetfetch holds the checks every object-store plugin applies when it serves AssetProvider.FetchAsset, whatever its storage backend: |
|
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
client/clientset/versioned/typed/ate/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
client/clientset/versioned/typed/ate/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
postgressetup
Package postgressetup provides the PostgreSQL identity setup shared by Substrate installers.
|
Package postgressetup provides the PostgreSQL identity setup shared by Substrate installers. |
|
sandboxclass
Package sandboxclass names the sandbox runtime families: the values a WorkerPool and a SandboxConfig can select.
|
Package sandboxclass names the sandbox runtime families: the values a WorkerPool and a SandboxConfig can select. |
|
tools
|
|
|
setup-gcp
command
|
|
|
site-content
command
Command site-content generates Hugo content stubs in site/content/ from the Markdown files under docs/ and demos/*/README.md so that site/content/ does not need to be checked into the repository.
|
Command site-content generates Hugo content stubs in site/content/ from the Markdown files under docs/ and demos/*/README.md so that site/content/ does not need to be checked into the repository. |
|
site-release-data
command
Command site-release-data writes the release metadata the website's templates read: the version being published, the previous full release, and the Markdown files added between the two.
|
Command site-release-data writes the release metadata the website's templates read: the version being published, the previous full release, and the Markdown files added between the two. |
|
validate-image-cache
command
validate-image-cache batch-validates that OCI images can be pulled, parsed, and unpacked by internal/imagecache (the atelet-side half of the node-local image cache).
|
validate-image-cache batch-validates that OCI images can be pulled, parsed, and unpacked by internal/imagecache (the atelet-side half of the node-local image cache). |
Click to show internal directories.
Click to hide internal directories.
