Facade for the addon mounter — the public surface a host consumes.
Re-exports the pure solver (solve), the effectful boundary (mount!, dry-run, teardown!, discover-specs, parse-spec), the DIP config resolver + host constructor (resolve-config-default, atom-mount-host), and the schema validators/keys. mount-classpath! is the one-call composition root: discover-specs -> solve -> mount!. The IMountHost protocol is NOT re-exported (a protocol cannot be plain-def aliased) — implement it from its canonical home hive-addon.mount.port.
Rationale lives in hive memory (KG-linked), not here.
Facade for the addon mounter — the public surface a host consumes. Re-exports the pure solver (solve), the effectful boundary (mount!, dry-run, teardown!, discover-specs, parse-spec), the DIP config resolver + host constructor (resolve-config-default, atom-mount-host), and the schema validators/keys. mount-classpath! is the one-call composition root: discover-specs -> solve -> mount!. The IMountHost protocol is NOT re-exported (a protocol cannot be plain-def aliased) — implement it from its canonical home hive-addon.mount.port. Rationale lives in hive memory (KG-linked), not here.
hive-addon.mount.port/atom-mount-host — in-memory IMountHost constructor.
hive-addon.mount.port/atom-mount-host — in-memory IMountHost constructor.
hive-addon.mount.compose/compose! — select+order+mount! into a host.
hive-addon.mount.compose/compose! — select+order+mount! into a host.
hive-addon.mount.compose/compose-classpath! — discover-specs + read-layers + compose!.
hive-addon.mount.compose/compose-classpath! — discover-specs + read-layers + compose!.
hive-addon.mount.compose/compose-plan — pure select+solve over plug layers.
hive-addon.mount.compose/compose-plan — pure select+solve over plug layers.
hive-addon.mount.solve/default-rules — the built-in ordering-rule chain.
hive-addon.mount.solve/default-rules — the built-in ordering-rule chain.
hive-addon.mount.boundary/discover-specs — classpath manifest scan.
hive-addon.mount.boundary/discover-specs — classpath manifest scan.
hive-addon.mount.boundary/dry-run — effect-free MountReport (parity).
hive-addon.mount.boundary/dry-run — effect-free MountReport (parity).
hive-addon.mount.solve/edges — folded dependency-rule edge set.
hive-addon.mount.solve/edges — folded dependency-rule edge set.
hive-addon.mount.boundary/mount! — drive a plan through a host (graceful).
hive-addon.mount.boundary/mount! — drive a plan through a host (graceful).
(mount-classpath! host)(mount-classpath! host opts)One-call composition root: discover-specs -> solve -> mount!. Returns a MountReport; discovery :errors are attached under the report's :discovery-errors key. opts thread to solve (:rules, :fail-closed-cycles) and mount! (:resolve-config).
When :fail-closed-cycles true and the discovered specs contain a cycle, solve returns (r/err :mount/unsolvable ...) and that error is returned as-is.
One-call composition root: discover-specs -> solve -> mount!. Returns a MountReport; discovery :errors are attached under the report's :discovery-errors key. opts thread to solve (:rules, :fail-closed-cycles) and mount! (:resolve-config). When :fail-closed-cycles true and the discovered specs contain a cycle, solve returns (r/err :mount/unsolvable ...) and that error is returned as-is.
hive-addon.mount.boundary/parse-spec — EDN string -> MountSpec Result.
hive-addon.mount.boundary/parse-spec — EDN string -> MountSpec Result.
hive-addon.mount.compose/read-layers — paths -> validated plug layers.
hive-addon.mount.compose/read-layers — paths -> validated plug layers.
hive-addon.mount.port/resolve-config-default — default config resolver.
hive-addon.mount.port/resolve-config-default — default config resolver.
hive-addon.mount.solve/solve — pure spec-set -> MountPlan.
hive-addon.mount.solve/solve — pure spec-set -> MountPlan.
hive-addon.mount.boundary/teardown! — reverse-order shutdown, no-nuke.
hive-addon.mount.boundary/teardown! — reverse-order shutdown, no-nuke.
hive-addon.mount.schema/validate*.
hive-addon.mount.schema/validate*.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |