open-nomad/nomad/structs
Lang Martin a3bfd8c209
structs: Job.Validate only allows stop_after_client_disconnected on batch and service jobs (#8444)
* nomad/structs/structs: add to Job.Validate

* Update nomad/structs/structs.go

Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>

* nomad/structs/structs: match error strings to the config file

* nomad/structs/structs_test: clarify the test a bit

* nomad/structs/structs_test: typo in the test error comparison

Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2020-07-20 10:27:25 -04:00
..
config consul/connect: add support for running connect native tasks 2020-06-22 14:07:44 -05:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
csi.go csi: add -force flag to volume deregister (#8295) 2020-07-01 12:17:51 -04:00
csi_test.go csi: ensure Read/WriteAllocs aren't released early (#7841) 2020-04-30 17:11:31 -04:00
devices.go
devices_test.go
diff.go fix swapped old/new multiregion plan diffs (#8378) 2020-07-08 10:10:50 -04:00
diff_test.go fix swapped old/new multiregion plan diffs (#8378) 2020-07-08 10:10:50 -04:00
errors.go multiregion: use pending instead of paused 2020-06-17 11:06:14 -04:00
errors_test.go
funcs.go tests and some clean up 2020-05-01 13:13:30 -04:00
funcs_test.go ar: support opting into binding host ports to default network IP (#8321) 2020-07-06 18:51:46 -04:00
generate.sh When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
network.go fixed typo in output (#1) 2020-07-14 10:33:17 -06:00
network_test.go test: fix up testing around host networks 2020-06-19 13:53:31 -04:00
node.go docstring improvements and typo fixes (#7862) 2020-05-05 10:30:50 -04:00
node_class.go
node_class_test.go
node_test.go
operator.go basic snapshot restore 2020-06-07 15:46:23 -04:00
service_identities.go consul/connect: use task kind to get service name 2020-05-18 13:46:00 -06:00
services.go consul/connect: infer task name in service if possible 2020-07-08 13:31:44 -05:00
services_test.go consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
streaming_rpc.go
structs.go structs: Job.Validate only allows stop_after_client_disconnected on batch and service jobs (#8444) 2020-07-20 10:27:25 -04:00
structs_codegen.go
structs_periodic_test.go tests for periodic job scheduling and DST 2020-05-07 17:36:59 -04:00
structs_test.go structs: Job.Validate only allows stop_after_client_disconnected on batch and service jobs (#8444) 2020-07-20 10:27:25 -04:00
testing.go
volumes.go csi: add mount_options to volumes and volume requests (#7398) 2020-03-23 13:59:25 -04:00