Current section
Files
Jump to
Current section
Files
lib/entropy/sanctuary/victim.ex
defmodule Entropy.Sanctuary.Victim do
@moduledoc """
The Victim Entity.
Represents a target selected for fault injection.
"""
@type t :: %__MODULE__{
pid: pid(),
application_name: atom() | nil,
registered_name: atom() | nil,
injection_type: :suspend | :kill,
timestamp_utc: DateTime.t()
}
defstruct [
:pid,
:application_name,
:registered_name,
:injection_type,
:timestamp_utc
]
end