NomadClient.Connection (nomad_client v0.12.4)

Handle Tesla connections for NomadClient.

Link to this section Summary

Functions

Configure a client connection using Basic authentication.

Link to this section Functions

Link to this function

new(url \\ "http://localhost:4646", token \\ nil)

Configure a client connection using Basic authentication.

Parameters

  • url (String): Nomad URL Endpoint)
  • token (String): ACL Token

Returns

Tesla.Env.client

Link to this function

request(conn, request)

See Tesla.request/2.