Liking cljdoc? Tell your friends :D

hive-addon.mount

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.
raw docstring

atom-mount-hostclj

hive-addon.mount.port/atom-mount-host — in-memory IMountHost constructor.

hive-addon.mount.port/atom-mount-host — in-memory IMountHost constructor.
sourceraw docstring

compose!clj

hive-addon.mount.compose/compose! — select+order+mount! into a host.

hive-addon.mount.compose/compose! — select+order+mount! into a host.
sourceraw docstring

compose-classpath!clj

hive-addon.mount.compose/compose-classpath! — discover-specs + read-layers + compose!.

hive-addon.mount.compose/compose-classpath! — discover-specs + read-layers + compose!.
sourceraw docstring

compose-planclj

hive-addon.mount.compose/compose-plan — pure select+solve over plug layers.

hive-addon.mount.compose/compose-plan — pure select+solve over plug layers.
sourceraw docstring

default-rulesclj

hive-addon.mount.solve/default-rules — the built-in ordering-rule chain.

hive-addon.mount.solve/default-rules — the built-in ordering-rule chain.
sourceraw docstring

discover-specsclj

hive-addon.mount.boundary/discover-specs — classpath manifest scan.

hive-addon.mount.boundary/discover-specs — classpath manifest scan.
sourceraw docstring

dry-runclj

hive-addon.mount.boundary/dry-run — effect-free MountReport (parity).

hive-addon.mount.boundary/dry-run — effect-free MountReport (parity).
sourceraw docstring

edgesclj

hive-addon.mount.solve/edges — folded dependency-rule edge set.

hive-addon.mount.solve/edges — folded dependency-rule edge set.
sourceraw docstring

explainclj

hive-addon.mount.schema/explain.

hive-addon.mount.schema/explain.
sourceraw docstring

mount!clj

hive-addon.mount.boundary/mount! — drive a plan through a host (graceful).

hive-addon.mount.boundary/mount! — drive a plan through a host (graceful).
sourceraw docstring

mount-classpath!clj

(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.
sourceraw docstring

parse-specclj

hive-addon.mount.boundary/parse-spec — EDN string -> MountSpec Result.

hive-addon.mount.boundary/parse-spec — EDN string -> MountSpec Result.
sourceraw docstring

read-layersclj

hive-addon.mount.compose/read-layers — paths -> validated plug layers.

hive-addon.mount.compose/read-layers — paths -> validated plug layers.
sourceraw docstring

resolve-config-defaultclj

hive-addon.mount.port/resolve-config-default — default config resolver.

hive-addon.mount.port/resolve-config-default — default config resolver.
sourceraw docstring

solveclj

hive-addon.mount.solve/solve — pure spec-set -> MountPlan.

hive-addon.mount.solve/solve — pure spec-set -> MountPlan.
sourceraw docstring

teardown!clj

hive-addon.mount.boundary/teardown! — reverse-order shutdown, no-nuke.

hive-addon.mount.boundary/teardown! — reverse-order shutdown, no-nuke.
sourceraw docstring

validateclj

hive-addon.mount.schema/validate.

hive-addon.mount.schema/validate.
sourceraw docstring

validate*clj

hive-addon.mount.schema/validate*.

hive-addon.mount.schema/validate*.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close