open-nomad/api
James Rasell 6463532577
Fix panic when canonicalizing a jobspec with incorrect job type.
When canonicalizing the ReschedulePolicy a panic was possible if
the passed job type was not valid. This change protects against
this possibility, in a verbose way to ensure the code path is
clear.
2020-02-21 09:14:36 +01:00
..
contexts
internal/testutil Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
acl.go
acl_test.go
agent.go refactor api profile methods 2020-01-09 15:15:12 -05:00
agent_test.go fix tests, update changelog 2020-01-29 13:55:39 -05:00
allocations.go cli: recover from client ACL lookup failures 2019-10-04 11:23:59 -04:00
allocations_test.go api: avoid depending on helper internal package 2019-11-12 11:02:33 -05:00
api.go Add raw field for ClientCert and ClientKey 2019-12-16 14:30:00 +01:00
api_test.go api: avoid depending on helper internal package 2019-11-12 11:02:33 -05:00
compose_test.go fix tests from introducing new struct fields 2019-07-31 01:03:16 -04:00
constraint.go core: add semver constraint 2019-11-19 08:40:19 -08:00
constraint_test.go
deployments.go
evaluations.go add create and modify timestamps to evaluations (#5881) 2019-08-07 09:50:35 -07:00
evaluations_test.go
fs.go cli: recover from client ACL lookup failures 2019-10-04 11:23:59 -04:00
fs_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
go.mod Update go mod 2019-12-16 12:47:10 +01:00
go.sum Update go mod 2019-12-16 12:47:10 +01:00
jobs.go command, docs: create and document consul token configuration for connect acls (gh-6716) 2020-01-31 19:02:53 -06:00
jobs_test.go command, docs: create and document consul token configuration for connect acls (gh-6716) 2020-01-31 19:02:53 -06:00
namespace.go
namespace_test.go
nodes.go api: add StartedAt in Node.DrainStrategy 2019-11-13 17:54:40 -05:00
nodes_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
operator.go Rename to match system scheduler config. 2019-05-03 14:06:12 -05:00
operator_autopilot.go implement MinQuorum 2020-02-16 16:04:59 -06:00
operator_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
quota.go
quota_test.go
raw.go
regions.go
regions_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
resources.go cli: display group ports and address in alloc status command output (#6189) 2019-08-27 23:59:36 -04:00
search.go
search_test.go
sentinel.go
sentinel_test.go
services.go client: enable configuring enable_tag_override for services 2020-02-10 08:00:55 -06:00
services_test.go client: enable configuring enable_tag_override for services 2020-02-10 08:00:55 -06:00
status.go
status_test.go
system.go
system_test.go
tasks.go Fix panic when canonicalizing a jobspec with incorrect job type. 2020-02-21 09:14:36 +01:00
tasks_test.go Fix panic when canonicalizing a jobspec with incorrect job type. 2020-02-21 09:14:36 +01:00
util_test.go api: avoid depending on helper internal package 2019-11-12 11:02:33 -05:00
utils.go Update comment on int8ToPtr 2019-01-30 12:23:14 -08:00
utils_test.go api: move formatFloat function 2019-01-18 15:31:31 -05:00