Skip to main content

Crate nodes_registry

Crate nodes_registry 

Source
Expand description

Nodes Registry Module

This module manages node information in the Hyperspot deployment. A node represents a deployment unit (host, VM, container) where Hyperspot is running.

Each node contains:

  • System information (OS, CPU, memory, etc.)
  • System capabilities (hardware, software features)
  • Node metadata (ID, hostname, IP, etc.)

The module provides REST API endpoints to:

  • List all nodes
  • Get node information by ID
  • Access node sysinfo via /nodes/{id}/sysinfo
  • Access node syscap via /nodes/{id}/syscap

Re-exports§

pub use module::NodesRegistry;

Modules§

module

Structs§

BatteryInfo
Battery information
CpuInfo
CPU information
GpuInfo
GPU information
HostInfo
Host information
MemoryInfo
Memory information
Node
Node represents a deployment unit where Hyperspot is running
NodeSysCap
System capability information for a node
NodeSysInfo
System information for a node
OsInfo
Operating system information
SysCap
Individual system capability

Enums§

NodesRegistryError
Errors for the nodes registry module

Traits§

NodesRegistryClient
Client trait for accessing nodes registry functionality