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