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 Show canaries on plan 2017-07-07 12:03:11 -07:00
annotate_test.go Enable more linters 2017-09-26 15:26:33 -07:00
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 renames 2018-10-04 14:57:25 -07:00
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 server 2018-09-15 16:23:13 -07:00
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 Fix bug in reconciler where terminal allocs on a job already stopped were unnecessarily updated 2018-10-08 21:03:49 -05:00
reconcile_test.go use int64 2018-10-16 15:34:32 -07:00
reconcile_util.go Work in progress - force rescheduling of failed allocs 2018-05-08 17:26:57 -05:00
reconcile_util_test.go Fix linting 2018-03-28 12:26:28 -05:00
scheduler.go Use scheduler config from state store to enable/disable preemption 2018-10-30 11:06:32 -05:00
scheduler_oss.go sync 2017-10-13 14:36:02 -07:00
select.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
select_test.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
spread.go server 2018-09-15 16:23:13 -07:00
spread_test.go Fix scoring logic for uneven spread to incorporate current alloc count 2018-09-04 16:10:11 -05:00
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 sync 2017-10-13 14:36:02 -07:00
stack_test.go renames 2018-10-04 14:57:25 -07:00
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 use int64 2018-10-16 15:34:32 -07:00
util_test.go add to stack 2018-10-13 12:27:49 -07:00