open-nomad/nomad/structs
Danielle Tomlinson 9c72dafc95 scheduler: Add is_set/is_not_set constraints
This adds constraints for asserting that a given attribute or value
exists, or does not exist. This acts as a companion to =, or !=
operators, e.g:

```hcl
constraint {
        attribute = "${attrs.type}"
        operator  = "!="
        value     = "database"
}

constraint {
        attribute = "${attrs.type}"
        operator  = "is_set"
}
```
2018-11-15 11:00:32 -08:00
..
config Plugin config parsing 2018-08-29 17:06:01 -07:00
batch_future.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
batch_future_test.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
bitmap.go assign names 2017-07-07 12:03:11 -07:00
bitmap_test.go assign names 2017-07-07 12:03:11 -07:00
devices.go review comments 2018-11-07 10:33:22 -08:00
devices_test.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
diff.go Diff 2018-10-08 17:02:58 -07:00
diff_test.go Diff 2018-10-08 17:02:58 -07:00
errors.go rpc: only attempt NodeRpc for nodes>=0.8 2018-04-09 11:08:06 -07:00
funcs.go allocs fit checks if devices get oversubscribed 2018-11-07 10:33:22 -08:00
funcs_test.go review comments 2018-11-07 10:33:22 -08:00
generate.sh Codecgen full package 2018-04-26 15:24:53 -07:00
network.go Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
network_test.go Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
node.go Fix copying drivers 2018-04-16 15:45:51 -07:00
node_class.go spelling: identifying 2018-03-11 18:15:05 +00:00
node_class_test.go renames 2018-10-04 14:57:25 -07:00
node_test.go fix issue when updating node events 2018-03-21 15:15:26 -04:00
operator.go Use response object/querymeta/writemeta in scheduler config API 2018-11-10 10:31:10 -06:00
streaming_rpc.go spelling: requested 2018-03-11 18:43:21 +00:00
structs.go scheduler: Add is_set/is_not_set constraints 2018-11-15 11:00:32 -08:00
structs_codegen.go Codecgen full package 2018-04-26 15:24:53 -07:00
structs_test.go Fix failing resource subtraction test 2018-11-06 12:26:26 -06:00
testing.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00