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:

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()
Link to this function

update_routing(gear_names)

View Source

Specs

update_routing([Antikythera.GearName.t()]) :: :ok