ASM.ProviderBackend.Info (ASM v0.9.2)

Copy Markdown View Source

ASM-owned backend metadata contract consumed by the orchestration kernel.

Summary

Types

session()

@type session() :: %{pid: pid() | nil, details: map()}

t()

@type t() :: %ASM.ProviderBackend.Info{
  backend: module(),
  capabilities: [atom()],
  lane: atom() | nil,
  observability: map(),
  provider: atom() | nil,
  runtime: module(),
  session: session()
}

Functions

merge_observability(info, observability)

@spec merge_observability(t(), map()) :: t()

new(attrs)

@spec new(keyword() | map()) :: t()

normalize(info_or_raw, attrs \\ [])

@spec normalize(t() | term(), keyword() | map()) :: t()

session_event_tag(raw_info, fallback \\ nil)

@spec session_event_tag(term(), atom() | nil) :: atom() | nil