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.jsonmetadata files.