open-nomad/api
Mathias Lafeldt 626404b19c
Add HTTP basic auth support to Nomad client code
In order to authenticate against protected endpoints, e.g.

```
export NOMAD_ADDR=https://$USER:$PASSWORD@nomad.example.net
nomad status
```

Instead of adding username and password to `api.Config`, this is a
rather simple change to the request handler code that passes along any
basic auth information.
2016-07-18 15:34:34 +02:00
..
agent.go Sort server-members output using name and tags 2015-10-23 21:33:18 +03:00
agent_test.go Remove testing for an API that doesn't exist any more. 2016-06-10 15:50:11 -04:00
allocations.go Allocation resources returned in a struct 2016-06-11 21:04:10 -07:00
allocations_test.go Refactoring continued 2015-12-24 20:53:37 +01:00
api.go Add HTTP basic auth support to Nomad client code 2016-07-18 15:34:34 +02:00
api_test.go Test request timing with a server slow enough to measure with low granularity system clocks. 2015-12-01 14:53:01 -05:00
compose_test.go Fixes 2016-02-19 15:49:32 -08:00
constraint.go Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
constraint_test.go Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
evaluations.go rename SpawnedBlockedEval and simplify map safety check 2016-05-24 18:12:59 -07:00
evaluations_test.go Refactoring continued 2015-12-24 20:53:37 +01:00
fs.go Allow following of files when cating and fix offsets 2016-07-13 15:33:17 -06:00
fs_test.go Allow following of files when cating and fix offsets 2016-07-13 15:33:17 -06:00
jobs.go plan displays launch time of periodic jobs 2016-06-15 13:34:45 -07:00
jobs_test.go Add check-index flag to nomad run 2016-06-08 17:56:32 -07:00
nodes.go only support latest and remove ring buffer 2016-06-12 09:32:38 -07:00
nodes_test.go Remove useless statement 2016-06-10 15:54:39 -04:00
raw.go api: Adding basic skeleton 2015-09-06 13:29:51 -07:00
regions.go api: add regions wrapper 2015-11-24 13:11:48 -08:00
regions_test.go api: add regions wrapper 2015-11-24 13:11:48 -08:00
resources.go Showing Task Resources in alloc status 2016-03-11 14:28:51 -08:00
status.go display server leaders per region 2016-03-17 16:04:09 -07:00
status_test.go api: remove unneeded test 2015-09-12 11:49:32 -07:00
system.go Job GC endpoint 2016-02-20 15:50:41 -08:00
system_test.go Job GC endpoint 2016-02-20 15:50:41 -08:00
tasks.go Allowing ports to be overriden in check definitions 2016-07-08 14:14:25 -07:00
tasks_test.go Fix api test 2015-12-18 12:17:54 -08:00
util_test.go Validate driver config on job register 2016-04-13 15:55:46 -07:00