open-nomad/api
Benjamin Buzbee 6cea70eca5
Use cleanhttp.DefaultPooledTransport for the default API client (#12409)
The only difference is DefaultTransport sets DisableKeepAlives

This doesn't make much sense to me - every http connection from the
nomad client goes to the same NOMAD_ADDR so it's a great case for keep
alive. Except round robin DNS and anycast perhaps.

Consul does this already
1e47e3c82b/api/api.go (L397)
2022-04-06 11:34:55 -04:00
..
contexts api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
internal/testutil ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
acl.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
acl_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
agent.go Make number of scheduler workers reloadable (#11593) 2022-01-06 11:56:13 -05:00
agent_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
allocations.go api: add service registration HTTP API wrapper. 2022-03-03 12:14:00 +01:00
allocations_exec.go cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00
allocations_test.go Merge branch 'main' into f-1.3-boogie-nights 2022-03-23 09:41:25 +01:00
api.go Use cleanhttp.DefaultPooledTransport for the default API client (#12409) 2022-04-06 11:34:55 -04:00
api_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
compose_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
constraint.go Tag Job spec with HCLv2 tags 2020-10-21 14:05:46 -04:00
constraint_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
consul.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
consul_test.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
csi.go CSI: Add secrets flag support for delete volume (#11245) 2022-04-05 08:59:11 -04:00
csi_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
deployments.go multiregion CLI: nomad deployment unblock 2020-06-17 11:03:44 -04:00
evaluations.go api: add related evals to eval details (#12305) 2022-03-17 13:56:14 -04:00
evaluations_test.go Merge pull request #12313 from hashicorp/purge-parallel-2 2022-03-17 13:48:37 -05:00
event_stream.go events: add API helpers for service events stream topics. 2022-04-05 08:26:02 +01:00
event_stream_test.go events: add API helpers for service events stream topics. 2022-04-05 08:26:02 +01:00
fs.go Ensure to close StreamFrame channel (#12248) 2022-03-28 10:28:23 -04:00
fs_test.go raw_exec: fixup review comments 2022-04-05 15:21:28 -05:00
go.mod build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#12306) 2022-03-23 19:12:51 -04:00
go.sum build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#12306) 2022-03-23 19:12:51 -04:00
ioutil.go Add api/ package function to save snapshot 2020-05-21 20:04:38 -04:00
ioutil_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
jobs.go Add unknown to TaskGroupSummary (#12269) 2022-04-05 17:12:23 -04:00
jobs_test.go Merge branch 'main' into f-1.3-boogie-nights 2022-03-23 09:41:25 +01:00
namespace.go Add metadata to namespaces 2022-02-27 09:09:10 +01:00
namespace_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
nodes.go raw_exec: fixup review comments 2022-04-05 15:21:28 -05:00
nodes_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
operator.go api: return error when `LicenseGet` status is not `200` (#11644) 2021-12-14 19:47:09 -05:00
operator_autopilot.go
operator_ent_test.go api: fix ENT-only test imports for moved testutil package (#12320) 2022-03-18 10:12:28 -04:00
operator_metrics.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
operator_metrics_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
operator_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
quota.go
quota_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
raw.go
recommendations.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
regions.go cli: ensure `-stale` flag is respected by `nomad operator debug` (#11678) 2021-12-15 10:44:03 -05:00
regions_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
resources.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
resources_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
scaling.go chore: bump golangci-lint from v1.24 to v1.39 2021-04-03 09:50:23 +02:00
scaling_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
search.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
search_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
sentinel.go
sentinel_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
services.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
services_test.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
status.go
status_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
system.go
system_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
tasks.go `MaxClientDisconnect` Jobspec checklist (#12177) 2022-04-05 17:12:23 -04:00
tasks_test.go Support Vault entity aliases (#12449) 2022-04-05 14:18:10 -04:00
util_test.go appease the linter and fix an incorrect test 2021-01-08 19:38:25 +00:00
utils.go more testing for ScalingPolicy, mainly around parsing and canonicalization for Min/Max 2020-03-24 19:43:50 +00:00
utils_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00