ArchAstro.Types.AgentExport (archastro v0.2.0)

Copy Markdown

A portable export bundle for an agent, containing everything needed to re-deploy it in another workspace or environment.

Summary

Types

t()

@type t() :: %ArchAstro.Types.AgentExport{
  configs: [ArchAstro.Types.Config.t()],
  template: %{optional(String.t()) => ArchAstro.JSON.t()}
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()