NervesGithubUpdater.Supervisor (nerves_github_updater v0.1.0)

Copy Markdown View Source

Library root supervisor for the firmware-update flow.

The single public entry point the host imports. Hosting application child-specs this module (not Updater directly); at library extraction time the host swaps NervesGithubUpdater.SupervisorNervesGithubUpdater.Supervisor in one place.

Accepts the same opts as NervesGithubUpdater.Updater.start_link/1 and passes them through to a single Updater child.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)