MingaAgent.ArtifactSupervisor (Minga v0.1.0)

Copy Markdown View Source

Dedicated retained-artifact subtree, isolated from agent session supervision.

Summary

Functions

Returns a specification to start this module under a supervisor.

Builds the runtime represented by production defaults plus explicit test name overrides.

Starts the quota, unique record registry, and lazy store supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

runtime(opts \\ [])

@spec runtime(keyword()) ::
  {:ok, MingaAgent.ArtifactStores.Runtime.t()}
  | {:error, :invalid_artifact_runtime}

Builds the runtime represented by production defaults plus explicit test name overrides.

start_link(opts \\ [])

@spec start_link(keyword()) :: Supervisor.on_start()

Starts the quota, unique record registry, and lazy store supervisor.