Skip to main content

Crate lattice_common

Crate lattice_common 

Source
Expand description

§lattice-common

Shared types, configuration, and error handling for the Lattice scheduler.

This crate defines the core domain model used across all Lattice components:

  • Allocation: The universal work unit (replaces Slurm job + K8s pod)
  • Node: Physical compute node with capabilities and ownership
  • Tenant: Organizational boundary with quotas
  • VCluster: Logical cluster with its own scheduling policy
  • TopologyModel: Slingshot/UE dragonfly group structure

Re-exports§

pub use error::LatticeError;
pub use types::*;

Modules§

clients
HTTP clients for external service integrations.
config
error
metrics
Prometheus metrics definitions for the Lattice scheduler.
proto
Generated protobuf types and gRPC service definitions.
registry
OCI distribution spec image resolver.
secrets
Secret resolution subsystem.
traits
tsdb_client
TSDB client — push metrics (Prometheus remote write format) and query (PromQL).
types
uenv_metadata
Parser for uenv env.json metadata files.