internal/

directory
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT

Directories

Path Synopsis
gantry
advertise
Package advertise reconciles the local containerd content store against the set of digests this node is advertising on the DHT.
Package advertise reconciles the local containerd content store against the set of digests this node is advertising on the DHT.
cdsub
Package cdsub subscribes to containerd image/content events and forwards digest presence changes to its caller.
Package cdsub subscribes to containerd image/content events and forwards digest presence changes to its caller.
coldstart
Package coldstart implements the / the design doc rule cascade that decides how an agent resolves a digest when its local cache misses and the DHT lookup did not return enough providers.
Package coldstart implements the / the design doc rule cascade that decides how an agent resolves a digest when its local cache misses and the DHT lookup did not return enough providers.
config
Package config is the single source of truth for every operator-tunable knob the Gantry agent exposes.
Package config is the single source of truth for every operator-tunable knob the Gantry agent exposes.
containerdstore
Package containerdstore adapts a containerd content store to the gantry ifaces.LocalContentStore contract so the rest of the agent can read from and write into containerd as the single local source of truth for image content.
Package containerdstore adapts a containerd content store to the gantry ifaces.LocalContentStore contract so the rest of the agent can read from and write into containerd as the single local source of truth for image content.
coord
Package coord implements Gantry's libp2p coordination RPCs.
Package coord implements Gantry's libp2p coordination RPCs.
digest
Package digest defines the canonical OCI digest type used across Gantry.
Package digest defines the canonical OCI digest type used across Gantry.
digestpipe
Package digestpipe is the digest-verifying stream tee.
Package digestpipe is the digest-verifying stream tee.
discovery
Package discovery wires Gantry's libp2p host and Kademlia DHT.
Package discovery wires Gantry's libp2p host and Kademlia DHT.
hrw
Package hrw implements Rendezvous (Highest-Random-Weight) hashing for Gantry's per-digest puller selection (the step 3).
Package hrw implements Rendezvous (Highest-Random-Weight) hashing for Gantry's per-digest puller selection (the step 3).
ifaces
Package ifaces declares the cross-cutting interfaces that Gantry's subsystems implement and depend on.
Package ifaces declares the cross-cutting interfaces that Gantry's subsystems implement and depend on.
ifaces/fakes
Package fakes provides in-memory implementations of the ifaces interfaces for unit and integration tests.
Package fakes provides in-memory implementations of the ifaces interfaces for unit and integration tests.
inflight
Package inflight tracks per-digest pulls currently being executed on this agent.
Package inflight tracks per-digest pulls currently being executed on this agent.
log
Package log is the structured-logging entry point for Gantry.
Package log is the structured-logging entry point for Gantry.
manifest
Package manifest parses OCI v1 / Docker v2 schema-2 image manifests just enough to extract the layer and config digests they reference.
Package manifest parses OCI v1 / Docker v2 schema-2 image manifests just enough to extract the layer and config digests they reference.
members
Package members - self-announce: write this agent's libp2p peer.ID, multiaddrs and transfer endpoint into its own Pod's annotations so other agents can discover the libp2p identity without operator-supplied bootstrap config.
Package members - self-announce: write this agent's libp2p peer.ID, multiaddrs and transfer endpoint into its own Pod's annotations so other agents can discover the libp2p identity without operator-supplied bootstrap config.
metrics
Package metrics owns the Prometheus registry shared across Gantry subsystems and provides constructor helpers that record metric ownership so final audit can verify the metric set is complete.
Package metrics owns the Prometheus registry shared across Gantry subsystems and provides constructor helpers that record metric ownership so final audit can verify the metric set is complete.
mirror
Package mirror is the loopback OCI registry mirror containerd talks to via hosts.toml .
Package mirror is the loopback OCI registry mirror containerd talks to via hosts.toml .
negcache
Package negcache implements the per-puller, in-memory negative cache described in the design doc of the Gantry design.
Package negcache implements the per-puller, in-memory negative cache described in the design doc of the Gantry design.
oci
Package oci hosts shared OCI/Distribution-spec helpers used by more than one Gantry subsystem.
Package oci hosts shared OCI/Distribution-spec helpers used by more than one Gantry subsystem.
origin
Package origin pulls bytes from upstream OCI registries.
Package origin pulls bytes from upstream OCI registries.
transfer
Package transfer is the peer-facing OCI endpoint other Gantry agents pull from.
Package transfer is the peer-facing OCI endpoint other Gantry agents pull from.
inventory
metalman
net
allocator
Package allocator provides CIDR allocation functionality for Kubernetes nodes.
Package allocator provides CIDR allocation functionality for Kubernetes nodes.
certmanager
Package certmanager manages TLS serving certificates for the controller using a self-signed CA.
Package certmanager manages TLS serving certificates for the controller using a self-signed CA.
config
Package config provides configuration types for the unbounded-net-controller.
Package config provides configuration types for the unbounded-net-controller.
controller
Package controller implements the Kubernetes node controller for CIDR allocation.
Package controller implements the Kubernetes node controller for CIDR allocation.
ebpf
Package ebpf provides eBPF-based tunnel dataplane management.
Package ebpf provides eBPF-based tunnel dataplane management.
html
Package html embeds HTML page templates used by the controller and node binaries.
Package html embeds HTML page templates used by the controller and node binaries.
metrics
Package metrics provides shared Prometheus metrics helpers for the unbounded-net controller and node agent.
Package metrics provides shared Prometheus metrics helpers for the unbounded-net controller and node agent.
netlink
Package netlink provides utilities for managing network configuration using netlink
Package netlink provides utilities for managing network configuration using netlink
Package ociutil provides shared helpers for OCI registry operations.
Package ociutil provides shared helpers for OCI registry operations.
orca
app
Package app wires the Orca runtime: origin + cachestore + cluster + fetch coordinator + edge / internal HTTP listeners.
Package app wires the Orca runtime: origin + cachestore + cluster + fetch coordinator + edge / internal HTTP listeners.
cachestore
Package cachestore defines the in-DC chunk store interface and shared types.
Package cachestore defines the in-DC chunk store interface and shared types.
cachestore/s3
Package s3 is the cachestore driver for in-DC S3-compatible stores.
Package s3 is the cachestore driver for in-DC S3-compatible stores.
chunk
Package chunk implements the chunk model: ChunkKey, deterministic path encoding, and the range -> chunk-index iterator.
Package chunk implements the chunk model: ChunkKey, deterministic path encoding, and the range -> chunk-index iterator.
chunkcatalog
Package chunkcatalog implements a bounded LRU recording chunks known to be present in the CacheStore.
Package chunkcatalog implements a bounded LRU recording chunks known to be present in the CacheStore.
cluster
Package cluster handles peer discovery and rendezvous-hash coordinator selection.
Package cluster handles peer discovery and rendezvous-hash coordinator selection.
config
Package config defines Orca's YAML configuration shape and loading helpers.
Package config defines Orca's YAML configuration shape and loading helpers.
fetch
Package fetch is the per-replica fill orchestrator: per-ChunkKey singleflight, pre-header origin retry, per-replica origin concurrency cap, and cross-replica fill via the cluster's internal RPC.
Package fetch is the per-replica fill orchestrator: per-ChunkKey singleflight, pre-header origin retry, per-replica origin concurrency cap, and cross-replica fill via the cluster's internal RPC.
manifests
Package manifests holds tests that validate the orca deployment manifest templates render to syntactically correct, structurally reasonable Kubernetes YAML.
Package manifests holds tests that validate the orca deployment manifest templates render to syntactically correct, structurally reasonable Kubernetes YAML.
metadata
Package metadata is the per-replica object-metadata cache.
Package metadata is the per-replica object-metadata cache.
origin
Package origin defines the upstream-blob-store interface and shared types.
Package origin defines the upstream-blob-store interface and shared types.
origin/awss3
Package awss3 is the AWS S3 (and S3-compatible) origin driver.
Package awss3 is the AWS S3 (and S3-compatible) origin driver.
origin/azureblob
Package azureblob is the Azure Blob Storage adapter for the Origin interface.
Package azureblob is the Azure Blob Storage adapter for the Origin interface.
server
Package server holds the HTTP handlers for the client edge and the internal-listener.
Package server holds the HTTP handlers for the client edge and the internal-listener.
Package storagesupervisor installs and (eventually) supervises the unbounded-storage daemon on a host.
Package storagesupervisor installs and (eventually) supervises the unbounded-storage daemon on a host.
Package version exposes build-time version metadata.
Package version exposes build-time version metadata.

Jump to

Keyboard shortcuts

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