Directories
¶
| Path | Synopsis |
|---|---|
|
Package adr036 implements ADR-036 off-chain message signing and verification.
|
Package adr036 implements ADR-036 off-chain message signing and verification. |
|
Package api provides the HTTP API server for fred.
|
Package api provides the HTTP API server for fred. |
|
Package auth provides the canonical signed-message formats used by Fred's tenant authentication.
|
Package auth provides the canonical signed-message formats used by Fred's tenant authentication. |
|
Package backend provides the interface and client for communicating with provisioning backends.
|
Package backend provides the interface and client for communicating with provisioning backends. |
|
docker
Package docker implements a Docker backend for Fred that provisions ephemeral containers with SKU-based resource profiles, registry allowlisting, and port mapping for tenant connectivity.
|
Package docker implements a Docker backend for Fred that provisions ephemeral containers with SKU-based resource profiles, registry allowlisting, and port mapping for tenant connectivity. |
|
k3s
Package k3s is the scaffold for Fred's K3s backend.
|
Package k3s is the scaffold for Fred's K3s backend. |
|
shared
Package shared provides backend-agnostic components that can be reused across different backend implementations (Docker, Kubernetes, Nomad, etc.).
|
Package shared provides backend-agnostic components that can be reused across different backend implementations (Docker, Kubernetes, Nomad, etc.). |
|
shared/leasesm
Package leasesm owns the per-lease state machine and actor, plus the substrate-agnostic seams they consume.
|
Package leasesm owns the per-lease state machine and actor, plus the substrate-agnostic seams they consume. |
|
shared/manifest
Package manifest defines the tenant-facing container manifest schema (StackManifest, holding a map of named per-service Manifest entries), JSON parsing, and validation.
|
Package manifest defines the tenant-facing container manifest schema (StackManifest, holding a map of named per-service Manifest entries), JSON parsing, and validation. |
|
shared/workbarrier
Package workbarrier provides a reference-counted barrier whose zero signal is exposed as a real channel, so callers can wait-with-timeout using a plain select without spawning helper goroutines that would leak when the count never drops to zero.
|
Package workbarrier provides a reference-counted barrier whose zero signal is exposed as a real channel, so callers can wait-with-timeout using a plain select without spawning helper goroutines that would leak when the count never drops to zero. |
|
Package chain provides clients for interacting with the Manifest blockchain.
|
Package chain provides clients for interacting with the Manifest blockchain. |
|
chaintest
Package chaintest provides test doubles for the chain package.
|
Package chaintest provides test doubles for the chain package. |
|
Package config handles configuration loading and validation for fred.
|
Package config handles configuration loading and validation for fred. |
|
Package hmacauth provides HMAC-SHA256 signing and verification for request authentication between Fred components (Fred ↔ backends).
|
Package hmacauth provides HMAC-SHA256 signing and verification for request authentication between Fred components (Fred ↔ backends). |
|
Package metrics provides Prometheus metrics for fred observability.
|
Package metrics provides Prometheus metrics for fred observability. |
|
Package provisioner implements the lease provisioning lifecycle using Watermill for event-driven processing.
|
Package provisioner implements the lease provisioning lifecycle using Watermill for event-driven processing. |
|
payload
Package payload implements bbolt-backed temporary storage for tenant deployment payloads.
|
Package payload implements bbolt-backed temporary storage for tenant deployment payloads. |
|
placement
Package placement implements a bbolt-backed lease→backend mapping with an in-memory cache.
|
Package placement implements a bbolt-backed lease→backend mapping with an in-memory cache. |
|
Package scheduler implements periodic withdrawal of accumulated lease fees and credit-depletion monitoring.
|
Package scheduler implements periodic withdrawal of accumulated lease fees and credit-depletion monitoring. |
|
Package testutil provides test fixtures and utilities for testing.
|
Package testutil provides test fixtures and utilities for testing. |
|
Package tlsconfig builds *tls.Config values for Fred's internal providerd <-> backend HTTP hop (ENG-103).
|
Package tlsconfig builds *tls.Config values for Fred's internal providerd <-> backend HTTP hop (ENG-103). |
|
Package util provides shared utility functions.
|
Package util provides shared utility functions. |
|
Package watcher detects cross-provider credit depletion and triggers our own withdrawal in response.
|
Package watcher detects cross-provider credit depletion and triggers our own withdrawal in response. |
Click to show internal directories.
Click to hide internal directories.