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
devices_test.go
diff.go
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
generate.sh
network.go
network_test.go
node.go csi: add Provider field to CSI CLIs and APIs (#7285) 2020-03-23 13:58:30 -04:00
node_class.go
node_class_test.go
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
volumes.go csi: add mount_options to volumes and volume requests (#7398) 2020-03-23 13:59:25 -04:00