runid

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL