View Source AntikytheraCore.StartupManager (antikythera v0.5.1)
Manages progress of startup procedure of antikythera.
Most of initialization steps are done within AntikytheraCore.start/2
.
However, the following step is not done in AntikytheraCore.start/2
and delayed:
- Installing gears:
Starting a gear requires that the antikythera instance (as an OTP application) has started;
this step is delegated to
AntikytheraCore.VersionSynchronizer
.
This GenServer
waits for the above procedures to complete and then changes the cowboy routing rules
so that the current node can receive web requests from its upstream load balancer.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
@spec all_gears_installed() :: :ok
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec initialized?() :: boolean()
@spec update_routing([Antikythera.GearName.t()]) :: :ok