ArchAstro.Types.AgentSourceSolution (archastro v0.2.0)

Copy Markdown

Summary of the Solution and AgentTemplate that an agent was last provisioned from. Returned on single-agent responses; null for hand-built agents and agents whose tracked template or parent Solution has been deleted.

Summary

Types

t()

@type t() :: %ArchAstro.Types.AgentSourceSolution{
  current_solution: ArchAstro.Types.SolutionSummary.t() | ArchAstro.Unset.t(),
  solution: ArchAstro.Types.SolutionSummary.t(),
  template: ArchAstro.Types.UpgradeTemplateSummary.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()