NervesHubLinkCommon.UpdateManager.State (nerves_hub_link_common v0.1.0) View Source
Structure for the state of the UpdateManager
server.
Contains types that describe status and different states the
UpdateManager
can be in
Link to this section Summary
Link to this section Types
Specs
download_rescheduled() :: %NervesHubLinkCommon.UpdateManager.State{ download: nil, fwup: nil, fwup_config: NervesHubLinkCommon.FwupConfig.t(), status: :update_rescheduled, update_reschedule_timer: :timer.tref() }
Specs
download_started() :: %NervesHubLinkCommon.UpdateManager.State{ download: GenServer.server(), fwup: GenServer.server(), fwup_config: NervesHubLinkCommon.FwupConfig.t(), status: {:updating, integer()} | {:fwup_error, String.t()}, update_reschedule_timer: nil }
Specs
Specs
t() :: %NervesHubLinkCommon.UpdateManager.State{ download: nil | GenServer.server(), fwup: nil | GenServer.server(), fwup_config: NervesHubLinkCommon.FwupConfig.t(), status: status(), update_reschedule_timer: nil | :timer.tref() }