nomex v0.0.4 Nomex.Sentinel

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

https://www.nomadproject.io/api/sentinel-policies.html

Link to this section Summary

Functions

issues a GET request to <NOMAD_HOST>/v1/sentinel/policies

issues a GET request to <NOMAD_HOST>/v1/sentinel/policies

issues a GET request to <NOMAD_HOST>/v1/sentinel/policy/<param_id>

issues a GET request to <NOMAD_HOST>/v1/sentinel/policy/<param_id>

Link to this section Functions

issues a GET request to <NOMAD_HOST>/v1/sentinel/policies

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

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

issues a GET request to <NOMAD_HOST>/v1/sentinel/policies

returns a %Nomex.Response{} or raises exception

issues a GET request to <NOMAD_HOST>/v1/sentinel/policy/<param_id>

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

Link to this function policy!(param_id)
policy!(String.t()) :: Nomex.Response.t()

issues a GET request to <NOMAD_HOST>/v1/sentinel/policy/<param_id>

returns a %Nomex.Response{} or raises exception