open-nomad/scheduler
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
..
annotate.go
annotate_test.go
context.go Merge pull request #4867 from hashicorp/b-deployment-progress-deadline 2018-11-13 10:29:03 -08:00
context_test.go Merge pull request #4867 from hashicorp/b-deployment-progress-deadline 2018-11-13 10:29:03 -08:00
device.go scheduler: Add is_set/is_not_set constraints 2018-11-15 11:00:32 -08:00
device_test.go Fix logic bug in tracking sum of matched affinity weights 2018-11-12 15:06:45 -06:00
feasible.go scheduler: Add is_set/is_not_set constraints 2018-11-15 11:00:32 -08:00
feasible_test.go scheduler: Add is_set/is_not_set constraints 2018-11-15 11:00:32 -08:00
generic_sched.go More style and readablity fixes from review 2018-10-30 11:06:32 -05:00
generic_sched_test.go
preemption.go update preemption tests to use new node resource structs 2018-11-02 17:59:53 -05:00
preemption_test.go update preemption tests to use new node resource structs 2018-11-02 17:59:53 -05:00
propertyset.go
rank.go scheduler: Add is_set/is_not_set constraints 2018-11-15 11:00:32 -08:00
rank_test.go Fixes device scheduling unit tests 2018-11-08 10:31:19 -06:00
reconcile.go
reconcile_test.go
reconcile_util.go
reconcile_util_test.go
scheduler.go Use scheduler config from state store to enable/disable preemption 2018-10-30 11:06:32 -05:00
scheduler_oss.go
select.go
select_test.go
spread.go
spread_test.go
stack.go Make preemption config a struct to allow for enabling based on scheduler type 2018-10-30 11:06:32 -05:00
stack_not_ent.go
stack_test.go
system_sched.go More style and readablity fixes from review 2018-10-30 11:06:32 -05:00
system_sched_test.go fix end to end scheduler test to use new resource structs correctly 2018-10-30 11:06:32 -05:00
testing.go More review comments 2018-11-01 16:36:11 -05:00
util.go
util_test.go