Documentation
¶
Overview ¶
Package taskid derives Task names from idempotency keys (§1, §4): the first 8 characters of the lowercase, unpadded RFC 4648 base32 of sha256(key), so [a-z2-7]{8} as C2 requires. The names are the dedup, so a key's format never changes between releases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IssueKey ¶
IssueKey is an issue task's key; gen counts maintainers' factory/ready labels on the issue (R4).
func Random ¶
func Random() string
Random is a fresh C2 id for a run or a brief's nonce: 5 random bytes are exactly 8 base32 characters.
func Run ¶
Run is the deterministic id of task's nth run (R48). The reconciler names its claims and reservations with it; the meter recognises a Queued task's next run by it (#55).
func RunloreKey ¶
RunloreKey dedups "while a task for it is open" (§1): the caller checks openness.
func ScheduleKey ¶
ScheduleKey is a scheduled task's key: one per schedule and firing time, in UTC.
Types ¶
This section is empty.