antikythera v0.4.0 AntikytheraCore.StartupManager View Source
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.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Functions
Specs
all_gears_installed() :: :ok
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
initialized?() :: boolean()
Specs
update_routing([Antikythera.GearName.t()]) :: :ok