Documentation
¶
Overview ¶
Package inprocess is Harbor's default in-process TaskRegistry driver. It wraps the shared task state machine in internal/tasks/engine with an ephemeral persistence backend: every lifecycle transition is written through the configured state.StateStore (so live state is observable to a co-located reader), but records are NOT reloaded on open — a process restart starts with an empty registry. Operators who need task records to survive a restart select the durable driver (internal/tasks/drivers/durable) instead.
The driver is the reference the conformance suite runs against; the engine it wraps is the same one every other driver wraps, so all drivers share one verified lifecycle implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(deps tasks.Dependencies) (tasks.TaskRegistry, error)
New constructs the in-process TaskRegistry. Production callers go through tasks.Open; the constructor is exported for tests that want to skip the registry dispatch.
A non-nil StateStore is required: the ephemeral backend writes every transition through it. Bus and Redactor are validated by the engine.
Types ¶
This section is empty.