antikythera v0.3.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

Link to this function

all_gears_installed()

View Source
all_gears_installed() :: :ok

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

initialized?()

View Source
initialized?() :: boolean()
Link to this function

update_routing(gear_names)

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