ArchAstro.Types.Installation (archastro v0.2.0)

Copy Markdown

An installation representing a connection between an agent and an external service or enablement channel. Tracks configuration, lifecycle state, and any bound integration.

Summary

Types

t()

@type t() :: %ArchAstro.Types.Installation{
  agent: String.t() | ArchAstro.Unset.t(),
  config: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  id: String.t(),
  kind: String.t() | ArchAstro.Unset.t(),
  lookup_key: String.t() | ArchAstro.Unset.t(),
  shared_integration: String.t() | ArchAstro.Unset.t(),
  state: String.t() | ArchAstro.Unset.t(),
  status_payload:
    %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  updated_at: DateTime.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()