ArchAstro.Types.AgentHealthAction (archastro v0.2.0)

Copy Markdown

A single actionable item in an agent's health or setup checklist, carrying the structured data needed to render the item and deep-link to the resolution flow.

Summary

Types

t()

@type t() :: %ArchAstro.Types.AgentHealthAction{
  agent: String.t() | ArchAstro.Unset.t(),
  app: String.t() | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  depends_on: [String.t()] | ArchAstro.Unset.t(),
  description: String.t() | ArchAstro.Unset.t(),
  id: String.t(),
  kind: String.t(),
  last_verified_at: DateTime.t() | ArchAstro.Unset.t(),
  last_verifier_message: String.t() | ArchAstro.Unset.t(),
  org: String.t() | ArchAstro.Unset.t(),
  params: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  required: boolean(),
  sort_order: integer(),
  source: String.t(),
  status: String.t(),
  title: String.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  verify_config:
    %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.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()