nomex v0.0.3 Nomex.Operator

Methods in this module are used to interact with Nomad’s Operator HTTP API. More information here:

https://www.nomadproject.io/api/operator.html

Link to this section Summary

Functions

issues a GET request to <NOMAD_HOST>/v1/operator/raft/configuration

issues a GET request to <NOMAD_HOST>/v1/operator/raft/configuration

Link to this section Functions

Link to this function raft_configuration()
raft_configuration() :: Nomex.Response.tuple_t()

issues a GET request to <NOMAD_HOST>/v1/operator/raft/configuration

returns a tuple with status (:ok, :error) and the %Nomex.Response{}

Link to this function raft_configuration!()
raft_configuration!() :: Nomex.Response.t()

issues a GET request to <NOMAD_HOST>/v1/operator/raft/configuration

returns a %Nomex.Response{} or raises exception