internal/

directory
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0

Directories

Path Synopsis
shadeform
Package shadeform rents machines through Shadeform (api.shadeform.ai), a GPU marketplace aggregator that fronts ~21 provider clouds behind one API, and bootstraps a Mercator node agent onto each one.
Package shadeform rents machines through Shadeform (api.shadeform.ai), a GPU marketplace aggregator that fronts ~21 provider clouds behind one API, and bootstraps a Mercator node agent onto each one.
vast
Package vast launches Mercator runs on Vast.ai, a marketplace of GPU hosts.
Package vast launches Mercator runs on Vast.ai, a marketplace of GPU hosts.
Package broker turns registered connections into live adapters and routes offer collection + run lifecycle across them.
Package broker turns registered connections into live adapters and routes offer collection + run lifecycle across them.
Package capability declares the three contracts a backend can implement and the capabilities it negotiates through them.
Package capability declares the three contracts a backend can implement and the capabilities it negotiates through them.
capacitytest
Package capacitytest is the bounded set of promises every CapacityProvider keeps, stated once and run against any backend that implements the contract.
Package capacitytest is the bounded set of promises every CapacityProvider keeps, stated once and run against any backend that implements the contract.
Package conformance launches bounded provider trials through Mercator's public lifecycle and proves terminal cleanup.
Package conformance launches bounded provider trials through Mercator's public lifecycle and proves terminal cleanup.
Package credential resolves connection credentials from a {source, ref} reference.
Package credential resolves connection credentials from a {source, ref} reference.
Package daemon composes and owns one production Mercator server runtime.
Package daemon composes and owns one production Mercator server runtime.
Package dockertest hands this machine's one Docker daemon to one test at a time.
Package dockertest hands this machine's one Docker daemon to one test at a time.
Package gpunorm maps each provider's native GPU vendor/model strings onto a stable canonical id, so a workload's accelerator requirement matches the same GPU regardless of which provider advertises it.
Package gpunorm maps each provider's native GPU vendor/model strings onto a stable canonical id, so a workload's accelerator requirement matches the same GPU regardless of which provider advertises it.
Package httpapi provides primitives to interact with the openapi HTTP API.
Package httpapi provides primitives to interact with the openapi HTTP API.
Package keymaterial decodes cryptographic keys supplied through configuration.
Package keymaterial decodes cryptographic keys supplied through configuration.
Package node is the control plane's authority over enrolled Mercator nodes.
Package node is the control plane's authority over enrolled Mercator nodes.
nodetest
Package nodetest is the shared conformance suite every node.Store must pass.
Package nodetest is the shared conformance suite every node.Store must pass.
Package nodeagent is the Mercator node agent: the process that runs on a reusable machine and executes successive workloads there.
Package nodeagent is the Mercator node agent: the process that runs on a reusable machine and executes successive workloads there.
Package nodeapi is the transport nodes use to reach the control plane.
Package nodeapi is the transport nodes use to reach the control plane.
Redaction for the public event stream.
Redaction for the public event stream.
Package prediction answers what a launch stage will cost from what earlier launches of the same thing really spent.
Package prediction answers what a launch stage will cost from what earlier launches of the same thing really spent.
Package providers owns Mercator's production provider catalog.
Package providers owns Mercator's production provider catalog.
Package rental is the control plane's authority over the capacity Mercator holds: the leases it has taken, the generations each of them has been through, and the runtime a generation's end retires.
Package rental is the control plane's authority over the capacity Mercator holds: the leases it has taken, the generations each of them has been through, and the runtime a generation's end retires.
rentaltest
Package rentaltest is the shared conformance suite every rental.Store must pass.
Package rentaltest is the shared conformance suite every rental.Store must pass.
Package reporting mints and verifies per-run HMAC tokens that authorize a workload to report events for its own run, and nothing else.
Package reporting mints and verifies per-run HMAC tokens that authorize a workload to report events for its own run, and nothing else.
Package runprojection defines the durable, indexed Run read-model boundary.
Package runprojection defines the durable, indexed Run read-model boundary.
Package scenario owns the versioned Mercator Lab Blueprint catalog and the placement-runner adapter.
Package scenario owns the versioned Mercator Lab Blueprint catalog and the placement-runner adapter.
storage
Package tlsmaterial loads the certificate and private key a Mercator process terminates TLS with.
Package tlsmaterial loads the certificate and private key a Mercator process terminates TLS with.
tlsmaterialtest
Package tlsmaterialtest issues throwaway TLS material for tests.
Package tlsmaterialtest issues throwaway TLS material for tests.
Package webauth implements service-local human authentication for the Mercator console: a standard OIDC authorization-code flow against a configurable issuer, an email/domain allowlist, and a signed HTTP-only session cookie.
Package webauth implements service-local human authentication for the Mercator console: a standard OIDC authorization-code flow against a configurable issuer, an email/domain allowlist, and a signed HTTP-only session cookie.

Jump to

Keyboard shortcuts

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