open-nomad/api
Charlie Voiselle 26acd7f025 Fixed test and moved constants into standalone func
In #3520, work was done to true up the defaults for Nomad resource
stanzas with the documentation.  This fixes the tests that I
accidentally broke in the process.  Some questions were raised about
using dynamic elements as part of expects, which is why I opted to
copy the MinResources pattern.   During this refactor I also noticed
that structs.go had a similar issue and an inconsistent minium for CPU.
2017-11-13 12:05:30 -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 Add Agent.Health to api package 2017-10-13 16:43:00 -07:00
agent_test.go Add Agent.Health to api package 2017-10-13 16:43:00 -07:00
allocations.go Add ModifyTime to Allocation and update it both on plan applies and client initiated updates 2017-11-01 15:13:48 -05:00
allocations_test.go
api.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
api_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
compose_test.go
constraint.go
constraint_test.go
deployments.go
evaluations.go sync 2017-10-13 14:36:02 -07:00
evaluations_test.go
fs.go
fs_test.go
jobs.go
jobs_test.go Fixed test and moved constants into standalone func 2017-11-13 12:05:30 -05:00
jobs_testing.go
namespace.go sync 2017-10-13 14:36:02 -07:00
namespace_test.go
nodes.go
nodes_test.go
operator.go
operator_test.go
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
regions.go
regions_test.go
resources.go Fixed test and moved constants into standalone func 2017-11-13 12:05:30 -05:00
search.go
search_test.go
sentinel.go
sentinel_test.go
status.go
status_test.go
system.go
system_test.go
tasks.go Simplified based on review comments 2017-11-09 20:09:37 -05:00
tasks_test.go
util_test.go sync 2017-10-13 14:36:02 -07:00