b218002752
This patch makes it easier to configure existing placement rules only with string. 1. placement(n) rule can be used to reuse earlier definitions 2 .&& can be used in addition to all(n1,n2) 3. country(c) accepts exclusions (like '!RU'), regions ('EU','EEA'), all and none See the 'full example' unit test, which uses all of these, in a realistic example. https://github.com/storj/storj/issues/6126 Change-Id: Ica76f016ebd002eb7ea8103d4258bacd6a6d77bf |
||
---|---|---|
.. | ||
gen | ||
common.go | ||
filter_test.go | ||
filter.go | ||
node.go | ||
primes.go | ||
rand_test.go | ||
rand.go | ||
region.go | ||
selector_test.go | ||
selector.go | ||
state_test.go | ||
state.go |