Documentation
¶
Overview ¶
Package runid generates unique run identifiers shared by the validator and the snapshot agent so both subsystems use one format and one generator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate() string
Generate creates a unique run identifier. Format: {timestamp}-{random-hex} (e.g., "20260514-123045-abc123def456"). Callers use this to generate runIDs before creating ConfigMaps and rendering Jobs.
Panics if the system's random number generator fails. Entropy failures are exceptional and we prefer to fail fast rather than generate predictable IDs that could collide across concurrent runs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.