open-nomad/api
Mahmood Ali d2ef657abc api: test api and structs are in sync
Add some tests to ensure that api/structs values are in sync.

Given that vendoring libraries prune tests by default, test dependencies
aren't leaked to clients of the package - so it should be safe to add
such dependency without affecting api clients.
2019-01-23 10:00:17 -05:00
..
contexts sync 2017-10-13 14:36:02 -07:00
acl.go Self token lookup 2017-10-13 13:12:20 -07:00
acl_test.go Self token lookup 2017-10-13 13:12:20 -07:00
agent.go spelling: unmarshal 2018-03-11 19:07:44 +00:00
agent_test.go non-Existent -> nonexistent 2018-03-12 11:59:33 -07:00
allocations.go api: avoid codegen for syncing 2019-01-18 18:52:31 -05:00
allocations_test.go api: embed pointer conversion functions 2019-01-18 15:31:04 -05:00
api.go spelling: configurations 2018-03-11 17:47:24 +00:00
api_test.go Enhance API pkg to utilize Server's Client Tunnel 2018-02-15 13:59:03 -08:00
compose_test.go api: embed pointer conversion functions 2019-01-18 15:31:04 -05:00
constraint.go Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
constraint_test.go Parallel 2017-07-21 16:33:04 -07:00
deployments.go code review fixes 2018-05-31 10:57:08 -07:00
evaluations.go Rename DelayCeiling to MaxDelay 2018-03-14 16:10:32 -05:00
evaluations_test.go non-Existent -> nonexistent 2018-03-12 11:59:33 -07:00
fs.go api: never return EOF from Logs error chan 2018-05-02 10:46:16 -07:00
fs_test.go api: embed pointer conversion functions 2019-01-18 15:31:04 -05:00
jobs.go api: avoid codegen for syncing 2019-01-18 18:52:31 -05:00
jobs_test.go api: embed pointer conversion functions 2019-01-18 15:31:04 -05:00
namespace.go sync 2017-10-13 14:36:02 -07:00
namespace_test.go sync 2017-09-19 10:08:23 -05:00
nodes.go api: avoid codegen for syncing 2019-01-18 18:52:31 -05:00
nodes_test.go api: embed pointer conversion functions 2019-01-18 15:31:04 -05:00
operator.go change path to v1/scheduler/configuration 2018-11-12 15:57:45 -06:00
operator_autopilot.go Fix make check errors 2018-09-04 16:03:52 -07:00
operator_autopilot_test.go Remove fake advertise address and fix TestAPI_OperatorAutopilotServerHealth 2018-03-19 15:49:12 -07:00
operator_test.go Use response object/querymeta/writemeta in scheduler config API 2018-11-10 10:31:10 -06:00
quota.go sync 2017-10-13 14:36:02 -07:00
quota_test.go sync 2017-10-13 14:36:02 -07:00
raw.go Making the client use tls if the node from which migration has to be made has enabled tls 2016-10-31 10:20:04 -07:00
regions.go fix a copy/paste error on api.Regions() comment 2017-01-17 22:48:01 -08:00
regions_test.go Parallel 2017-07-21 16:33:04 -07:00
resources.go api: move formatFloat function 2019-01-18 15:31:31 -05:00
search.go Search respects QueryOptions and returns QueryMeta 2017-08-27 22:17:51 -07:00
search_test.go Add new reschedule options to API layer and unit tests 2018-03-14 16:10:32 -05:00
sentinel.go sync 2017-09-19 10:08:23 -05:00
sentinel_test.go sync 2017-09-19 10:08:23 -05:00
status.go display server leaders per region 2016-03-17 16:04:09 -07:00
status_test.go Parallel 2017-07-21 16:33:04 -07:00
structsync_test.go api: test api and structs are in sync 2019-01-23 10:00:17 -05:00
system.go Add missing ReconcileSummaries API method 2017-08-24 11:55:10 +02:00
system_test.go Parallel 2017-07-21 16:33:04 -07:00
tasks.go Merge pull request #5213 from hashicorp/b-api-separate 2019-01-18 20:52:53 -05:00
tasks_test.go api: avoid codegen for syncing 2019-01-18 18:52:31 -05:00
util_test.go api: embed pointer conversion functions 2019-01-18 15:31:04 -05:00
utils.go api: move formatFloat function 2019-01-18 15:31:31 -05:00
utils_test.go api: move formatFloat function 2019-01-18 15:31:31 -05:00