Backplane.SkillProtocol.Source.Backplane (backplane_skill_protocol v0.9.0)

Copy Markdown

Thin remote source adapter for one-shot verified Skill preparation.

Summary

Types

t()

@type t() :: %Backplane.SkillProtocol.Source.Backplane{client: term()}

Functions

catalog(backplane, opts \\ [])

new(client)

@spec new(Backplane.SkillProtocol.Client.t()) ::
  {:ok, t()} | {:error, Backplane.SkillProtocol.Error.t()}

new!(client)

@spec new!(Backplane.SkillProtocol.Client.t()) :: t()

prepare(source, skill_id, revision \\ nil, opts \\ [])

@spec prepare(t(), String.t(), String.t() | nil, keyword()) ::
  {:ok, Backplane.SkillProtocol.PreparedSkill.t()}
  | {:error, Backplane.SkillProtocol.Error.t()}

resolve(backplane, skill_id, revision \\ nil, opts \\ [])