Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the inferencecache v1alpha1 API group.
|
Package v1alpha1 contains API Schema definitions for the inferencecache v1alpha1 API group. |
|
cmd
|
|
|
controller
command
|
|
|
inferencecache
command
Command inferencecache is the operator-facing CLI for the inference-cache control plane.
|
Command inferencecache is the operator-facing CLI for the inference-cache control plane. |
|
kvevent-fake-engine
command
Command kvevent-fake-engine is a TEST-ONLY stand-in for a vLLM engine's KV-event ZMQ publisher, used by the fingerprint-routing e2e in this package (and runnable standalone against a live install).
|
Command kvevent-fake-engine is a TEST-ONLY stand-in for a vLLM engine's KV-event ZMQ publisher, used by the fingerprint-routing e2e in this package (and runnable standalone against a live install). |
|
kvevent-subscriber
command
Command kvevent-subscriber runs as a sidecar next to a vLLM or SGLang engine replica: it subscribes to the engine's KV-cache events over ZMQ and reports cache state to the inferencecache-server over gRPC.
|
Command kvevent-subscriber runs as a sidecar next to a vLLM or SGLang engine replica: it subscribes to the engine's KV-cache events over ZMQ and reports cache state to the inferencecache-server over gRPC. |
|
node-local-shm-cleanup
command
|
|
|
server
command
|
|
|
gen
|
|
|
inferencecache/v1alpha1
Package v1alpha1 contains generated Go bindings for the public inferencecache.v1alpha1 protobuf API.
|
Package v1alpha1 contains generated Go bindings for the public inferencecache.v1alpha1 protobuf API. |
|
hack
|
|
|
index-sizing
command
Package main is the index-sizing measurement helper used to characterize the inferencecache-server in-memory index footprint at various entry counts.
|
Package main is the index-sizing measurement helper used to characterize the inferencecache-server in-memory index footprint at various entry counts. |
|
ranker-calibration
command
|
|
|
verify-prometheus-drift
command
Package main is the verify-prometheus-drift CI helper.
|
Package main is the verify-prometheus-drift CI helper. |
|
verify-samples
command
Package main is the verify-samples CI helper.
|
Package main is the verify-samples CI helper. |
|
internal
|
|
|
adapters/builtin
Package builtin composes every adapter shipped by the inference-cache binaries.
|
Package builtin composes every adapter shipped by the inference-cache binaries. |
|
adapters/builtin/runtime
Package runtime contains the runtime-adapter implementations shipped by the controller binary.
|
Package runtime contains the runtime-adapter implementations shipped by the controller binary. |
|
adapters/builtin/storage
Package storage contains the shipping remote-storage provider adapters.
|
Package storage contains the shipping remote-storage provider adapters. |
|
canary
Package canary provides repository-owned live and test probes for inference engines.
|
Package canary provides repository-owned live and test probes for inference engines. |
|
cli/doctor
Package doctor defines the diagnostic result vocabulary shared by the `inferencecache doctor` pre-flight checks and their output formatters.
|
Package doctor defines the diagnostic result vocabulary shared by the `inferencecache doctor` pre-flight checks and their output formatters. |
|
cli/doctor/checks
Package checks implements the `inferencecache doctor` pre-flight diagnostics.
|
Package checks implements the `inferencecache doctor` pre-flight diagnostics. |
|
cli/doctor/output
Package output renders a doctor doctor.Report in the three operator-facing formats the `inferencecache doctor` command supports: human (default, color-coded when writing to a TTY), json (a documented, stable schema for scripting and CI pipelines), and table (one row per finding).
|
Package output renders a doctor doctor.Report in the three operator-facing formats the `inferencecache doctor` command supports: human (default, color-coded when writing to a TTY), json (a documented, stable schema for scripting and CI pipelines), and table (one row per finding). |
|
controlplaneapi
Package controlplaneapi defines the private HTTP wire contracts shared by the inference-cache controller and server binaries.
|
Package controlplaneapi defines the private HTTP wire contracts shared by the inference-cache controller and server binaries. |
|
enginebinding
Package enginebinding owns metadata shared by engine-pod admission and the controllers that observe or reconcile injected pods.
|
Package enginebinding owns metadata shared by engine-pod admission and the controllers that observe or reconcile injected pods. |
|
index
Package index implements the inference-cache server's mutable cache-state index, populated from engine KV events and queried by LookupRoute.
|
Package index implements the inference-cache server's mutable cache-state index, populated from engine KV events and queried by LookupRoute. |
|
index/calibration
Package calibration replays routing observations through the production index ranker and sweeps RankerConfig candidates.
|
Package calibration replays routing observations through the production index ranker and sweeps RankerConfig candidates. |
|
server
Package server implements the inference-cache server binary's gRPC and HTTP surfaces.
|
Package server implements the inference-cache server binary's gRPC and HTTP surfaces. |
|
server/auth
Package auth provides HTTP middleware that gates the policy server's internal controller-facing endpoints (/snapshot, /policy, and /probe) on a Kubernetes ServiceAccount bearer token.
|
Package auth provides HTTP middleware that gates the policy server's internal controller-facing endpoints (/snapshot, /policy, and /probe) on a Kubernetes ServiceAccount bearer token. |
|
subscriber
Package subscriber implements KV-event ingestion for the kvevent-subscriber sidecar.
|
Package subscriber implements KV-event ingestion for the kvevent-subscriber sidecar. |
|
testutil
Package testutil provides envtest helpers used only by this repository's test suites.
|
Package testutil provides envtest helpers used only by this repository's test suites. |
|
version
Package version exposes build metadata to repository binaries.
|
Package version exposes build metadata to repository binaries. |
|
webhook/pod
Package pod is the controller-owned mutating admission webhook that auto- wires user-provided inference engine pods to a matching cache backend — either a managed provider or an externally owned remote binding.
|
Package pod is the controller-owned mutating admission webhook that auto- wires user-provided inference engine pods to a matching cache backend — either a managed provider or an externally owned remote binding. |
|
webhook/v1alpha1
Package v1alpha1 hosts the admission webhooks (defaulting + validating) for the operator-facing v1alpha1 CRDs: CacheBackend, CachePolicy, and CacheTenant.
|
Package v1alpha1 hosts the admission webhooks (defaulting + validating) for the operator-facing v1alpha1 CRDs: CacheBackend, CachePolicy, and CacheTenant. |
|
pkg
|
|
|
adapters/backend
Package backend defines the remote-storage provider boundary.
|
Package backend defines the remote-storage provider boundary. |
|
adapters/runtime
Package runtime is the controller-owned runtime-adapter seam: the plug-point that keeps engine-specific cache wiring out of the core CacheBackend reconciler.
|
Package runtime is the controller-owned runtime-adapter seam: the plug-point that keeps engine-specific cache wiring out of the core CacheBackend reconciler. |
|
engineclient
Package engineclient sends a pre-tokenized prompt (token IDs) to an inference engine.
|
Package engineclient sends a pre-tokenized prompt (token IDs) to an inference engine. |
|
fingerprint
Package fingerprint computes deterministic, content-addressed prefix hashes from token IDs.
|
Package fingerprint computes deterministic, content-addressed prefix hashes from token IDs. |
|
render
Package render reserves the public import path for a planned reusable RenderTemplate implementation.
|
Package render reserves the public import path for a planned reusable RenderTemplate implementation. |
|
tokenize
Package tokenize is the server-owned tokenization seam: it turns a (model, prompt) request into engine-aligned token IDs so the lookup path can fingerprint over the same tokens the engine caches.
|
Package tokenize is the server-owned tokenization seam: it turns a (model, prompt) request into engine-aligned token IDs so the lookup path can fingerprint over the same tokens the engine caches. |
Click to show internal directories.
Click to hide internal directories.