nomex v0.0.4 Nomex.Status
Methods in this module are used to interact with Nomad’s Status HTTP API. More information here:
Link to this section Summary
Link to this section Functions
issues a GET request to <NOMAD_HOST>/v1/status/leader
returns a tuple with status (:ok, :error
) and the %Nomex.Response{}
issues a GET request to <NOMAD_HOST>/v1/status/leader
returns a %Nomex.Response{}
or raises exception
issues a GET request to <NOMAD_HOST>/v1/status/peers
returns a tuple with status (:ok, :error
) and the %Nomex.Response{}
issues a GET request to <NOMAD_HOST>/v1/status/peers
returns a %Nomex.Response{}
or raises exception