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
@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
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()