Documentation
¶
Overview ¶
Package runtime bundles the shared CQRS infrastructure every domain and mediator in this controller depends on: the field cache, event recorder, Domain registry, and command-dispatch Engine (all from github.com/blanketops/environments/core). New constructs exactly one Runtime per controller manager at startup; domains register themselves against its Registry, and controllers route observed events through its Engine rather than handling reconciliation logic directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
Cache *cache.Cache
Events *events.EventRecorder
Registry *registry.Registry
Engine *engine.Engine
Log logr.Logger
}
Runtime bundles the shared infrastructure every domain and mediator depends on: the field cache, event recorder, domain registry, and command-dispatch engine.