View Source Cluster.EcsClusterInfo (Libcluster ECS v0.2.0)

The goal of this module is to get us the following information:

%{node_name => {{127,0,0,1} = ip, port}}

for all the nodes in our ECS cluster.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec get_nodes() ::
  %{required(node_name :: String.t()) => {ip :: tuple(), port :: integer()}}
  | no_return()