open-nomad/nomad/structs
Chris Baker 233db5258a changes to Canonicalize, Validate, and api->struct conversion so that tg.Count, tg.Scaling.Min/Max are well-defined with reasonable defaults.
- tg.Count defaults to tg.Scaling.Min if present (falls back on previous default of 1 if Scaling is absent)
- Validate() enforces tg.Scaling.Min <= tg.Count <= tg.Scaling.Max

modification in ApiScalingPolicyToStructs, api.TaskGroup.Validate so that defaults are handled for TaskGroup.Count and
2020-03-24 13:57:17 +00:00
..
config Audit config, seams for enterprise audit features 2020-03-23 13:47:42 -04:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
csi.go csi: the scheduler allows a job with a volume write claim to be updated (#7438) 2020-03-23 21:21:04 -04:00
csi_test.go csi: the scheduler allows a job with a volume write claim to be updated (#7438) 2020-03-23 21:21:04 -04:00
devices.go Initial implementation of device preemption 2018-11-15 11:09:26 -06:00
devices_test.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
diff.go structs: add taskgroup networks and services to plan diffs 2019-08-20 16:18:30 -04:00
diff_test.go jobspec: fixup vault_grace deprecation 2020-03-10 14:58:49 -07:00
errors.go csi: server-side plugin state tracking and api (#6966) 2020-03-23 13:58:29 -04:00
errors_test.go api: acl bootstrap errors aren't 500 2019-11-19 15:51:57 -05:00
funcs.go scaling: ensure min and max int64s are in toplevel of block. 2020-03-24 13:57:15 +00:00
funcs_test.go fix tests from introducing new struct fields 2019-07-31 01:03:16 -04:00
generate.sh dev: avoid codecgen code in downstream projects 2019-09-06 09:22:00 -04:00
network.go cli: display group ports and address in alloc status command output (#6189) 2019-08-27 23:59:36 -04:00
network_test.go cli: display group ports and address in alloc status command output (#6189) 2019-08-27 23:59:36 -04:00
node.go csi: add Provider field to CSI CLIs and APIs (#7285) 2020-03-23 13:58:30 -04:00
node_class.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_class_test.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_test.go
operator.go implement MinQuorum 2020-02-16 16:04:59 -06:00
service_identities.go nomad: proxy requests for Service Identity tokens between Clients and Consul 2020-01-31 19:03:53 -06:00
services.go consul/connect: in-place update sidecar service registrations on changes 2020-02-19 13:07:04 -06:00
services_test.go nomad: note why AddressMode is not part of CSD hash 2020-02-21 09:24:42 -06:00
streaming_rpc.go
structs.go changes to Canonicalize, Validate, and api->struct conversion so that tg.Count, tg.Scaling.Min/Max are well-defined with reasonable defaults. 2020-03-24 13:57:17 +00:00
structs_codegen.go
structs_test.go changes to Canonicalize, Validate, and api->struct conversion so that tg.Count, tg.Scaling.Min/Max are well-defined with reasonable defaults. 2020-03-24 13:57:17 +00:00
testing.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
volumes.go csi: add mount_options to volumes and volume requests (#7398) 2020-03-23 13:59:25 -04:00