MingaAgent.ArtifactStores.Runtime (Minga v0.1.0)

Copy Markdown View Source

Explicit process names and policy for one retained-artifact runtime.

Summary

Functions

Builds a validated artifact runtime for production or an isolated test subtree.

Types

t()

@type t() :: %MingaAgent.ArtifactStores.Runtime{
  limits: map(),
  quota: GenServer.server(),
  registry: atom(),
  root: String.t(),
  store_supervisor: GenServer.server()
}

Functions

new(opts)

@spec new(keyword()) :: {:ok, t()} | {:error, :invalid_artifact_runtime}

Builds a validated artifact runtime for production or an isolated test subtree.