Skip to main content

Module allocation_factory

Module allocation_factory 

Source
Expand description

Translate a GitHub event into an EphemeralAllocation spec.

Pure function: GitHub event in, typed Allocation out. The handler applies the resulting Allocation via kube-rs.

Enums§

FactoryError
Errors building an Allocation from an event.

Functions§

allocation_name
Deterministic Allocation name from a PR event — re-running the same event yields the same name (idempotent create).
build_allocation
Build a typed EphemeralAllocation from a PR event.