Commit Graph

24 Commits (64d98cba7314639bd5dd39e08122d83ab61177a8)

Author SHA1 Message Date
Eric Tune 800284164a Fix format specifiers in Printf-type functions. 2014-10-09 17:06:32 -07:00
Meir Fischer 89a9e5e672 extend selector with EXISTS, new tests/some old tests use table-driven style; add Has to Labels interface; enforce Requirement restrictions in constructor 2014-10-06 21:10:11 -04:00
Clayton Coleman ae698bcff8 Allow field/label users to get info from fields
Allows a consumer to get at the information stored in the field selector
for querying an underlying data store.  Not generic, but offers a
simple start.
2014-08-27 15:49:00 -04:00
Meir Fischer 9076e78654 change strValues's type to util.StringSet; rename Comparator to Operator; small syntax fix 2014-07-31 23:56:37 -04:00
Meir Fischer 80b1fa000e structured message for selector; matching functionality 2014-07-31 00:29:42 -04:00
Clayton Coleman 5bc19584a5 Update Service and ReplControllers to validate
Validations are performed on update and on create.
2014-07-27 19:55:03 -04:00
Clayton Coleman d32024870a Extend validation for ReplicationController
Provide type safe checks for empty sets of selectors.
2014-07-25 12:15:17 -04:00
Yuki Yugui Sonoda 60dd1f7cc0 Eliminates tautological comments 2014-07-15 20:58:01 +09:00
Yuki Yugui Sonoda 41febcee5e Merge branch 'master' into fix/golint
Conflicts:
	pkg/master/master.go
	pkg/master/pod_cache.go
	pkg/proxy/config/file.go
	pkg/proxy/proxier.go
	pkg/proxy/roundrobbin.go
	pkg/scheduler/randomfit.go
	pkg/scheduler/randomfit_test.go
2014-07-15 20:57:47 +09:00
Claire Li 2b183943c2 pkg/selector: set the cap for slice in SelectorFromSet 2014-07-11 22:59:50 -07:00
Yuki Yugui Sonoda 85fa11da93 Fixes golint errors in pkg/labels 2014-07-11 22:28:27 +09:00
Burcu Dogan f4d989ae92 labels: Fixing linting errors. 2014-07-10 22:08:12 -07:00
Daniel Smith b3fbc47bd4 Make selector parsing deterministic 2014-06-20 10:03:56 -07:00
Daniel Smith 671a7f1c27 File name should have changed during query->selector rename. 2014-06-20 09:58:09 -07:00
Daniel Smith bc02b3c21a Rename [label] query to selector 2014-06-19 13:31:42 -07:00
Daniel Smith c4649d539b Separate labels and selector in services for clarity 2014-06-19 13:30:04 -07:00
Daniel Smith e10e5b99d5 Fix typo 2014-06-16 22:21:43 -07:00
Daniel Smith c4e575d4ac switch to different types for different parts of the label query 2014-06-16 22:05:12 -07:00
Daniel Smith 3b980bd9dc Make deterministic 2014-06-16 22:05:12 -07:00
Daniel Smith c534d070e5 Rename LabelSet labels.Set 2014-06-16 22:05:12 -07:00
Daniel Smith 5c3e4fab58 add another test 2014-06-16 22:05:12 -07:00
Daniel Smith 7d05ba4dc4 Implement new label system 2014-06-16 22:05:12 -07:00
Daniel Smith 154ec0db1e apiserver builds again 2014-06-16 22:05:12 -07:00
Daniel Smith 1c6342a794 Move labels to own package 2014-06-16 22:05:11 -07:00