ArchAstro. Types. AgentUpgradeResponse
(archastro v0.2.0)
Copy Markdown
Response returned by the agent upgrade endpoint, combining the updated agent, its source Solution and template, and the full upgrade diff.
Summary
Types
@type t() :: %ArchAstro.Types.AgentUpgradeResponse{ agent: ArchAstro.Types.Agent.t() | ArchAstro.Unset.t(), solution: ArchAstro.Types.SolutionSummary.t(), template: ArchAstro.Types.UpgradeTemplateSummary.t(), upgrade_result: ArchAstro.Types.AgentUpgradeResult.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()