Defdo.DDNS.Adoption.Reporter
(defdo_ddns v0.5.0)
Copy Markdown
Shared rendering for the adoption mix tasks.
Redaction is the reason this is one module rather than three copies. An adoption list names every host somebody stood up; the target it points at is the part that reveals infrastructure, so it is truncated everywhere rather than in whichever task remembered to.
Summary
Functions
One line per entry: state, type, name, when it was first seen.
Render a single decided entry, for accept/reject output.
Functions
@spec render(:pending | :accepted | :rejected | :all) :: :ok
One line per entry: state, type, name, when it was first seen.
@spec render_entry(map()) :: :ok
Render a single decided entry, for accept/reject output.