Victor Vieux
|
e546965cf3
|
refactor and remove <= and >=
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-21 00:24:51 +00:00 |
Chanwit Kaewkasi
|
3c147df81a
|
remove unsupported operators
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 15:45:36 +07:00 |
Chanwit Kaewkasi
|
e4db376a6d
|
support affinity and validate key and value properly
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 15:44:55 +07:00 |
Chanwit Kaewkasi
|
45b7f26394
|
refactor matching into filter/utils.go
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:42:23 +07:00 |
Chanwit Kaewkasi
|
d77c9596b1
|
add double equals comparison
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:04:19 +07:00 |
Chanwit Kaewkasi
|
7ee722b2d7
|
support relative comparisons in constraints
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:03:34 +07:00 |
Chanwit Kaewkasi
|
d335f59757
|
implement alternative negation syntax
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:13 +07:00 |
Chanwit Kaewkasi
|
5b973d0057
|
improve to allow optional matching with case-insensitivity
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:10 +07:00 |
Chanwit Kaewkasi
|
790b1ea45d
|
cleanup and add comments
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:02:07 +07:00 |
Chanwit Kaewkasi
|
54c7c12d05
|
improve regexp matching
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:00:48 +07:00 |
Chanwit Kaewkasi
|
37e10e9656
|
support not in constraints expressions
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-20 10:00:12 +07:00 |
Victor Vieux
|
ccee1f67e8
|
add affinity:
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-16 00:10:36 +00:00 |
Victor Vieux
|
037f4c379b
|
simplify code
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-19 00:59:57 +00:00 |
Victor Vieux
|
28a5063168
|
add tests and move from label to constraint
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-18 02:14:31 +00:00 |