namespace gpr::runtime

Overview

namespace runtime {
 
// structs
 
struct Component;
 
// global functions
 
void registerComponent(Component component);
std::vector<Component> components();
std::string manifestJson();
std::string manifestSha256();
 
} // namespace runtime

Detailed Documentation

Global Functions

void registerComponent(Component component)

Register a component observed by a driver or loader. Re-registering the same role/name replaces it, so repeated setup stays deterministic.

std::vector<Component> components()

A stable snapshot including the linked ABI dependencies.

std::string manifestJson()

Canonical JSON record used by run provenance. Keys and components are sorted. The top-level sha256 identifies the same record with that digest field omitted, avoiding a self-referential hash.