Skip to main content

node_meta_with_os

Function node_meta_with_os 

Source
pub fn node_meta_with_os(
    node_id: u64,
    hostname: &str,
    os: &str,
    arch: &str,
    cpu_mhz: u64,
    memory_mb: u64,
) -> NodeMeta
Expand description

Create a node metadata entry with custom attributes baked into os/arch.