apiserver/pkg/util
Bruce Ma 87c35dc179 address some comments
Clean up useless functions, only keep the basic function Deal
and the function DealIntoHand which will be used by Priority
and Fairness.

Improve some comments for constants and functions.

Introduce Dealer to combine parameters and methods into a whole.

Use fixed-size slice to improve performance.

Use math.Ceil and math.Log2 to calculate required entropy bits.

Make the given hand adaptive to handSize in DealIntoHand.

Signed-off-by: Bruce Ma <brucema19901024@gmail.com>

Kubernetes-commit: 7a3ca070cdd9804a22bf5db8a99576b09fc52484
2019-10-11 20:06:31 +08:00
..
dryrun dry-run: Use dry-runnable structure 2018-06-21 08:49:13 -07:00
feature update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-03-04 12:46:52 -05:00
flushwriter sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-15 09:38:17 +00:00
openapi apiserver: fix openapi extension types to be JSON 2019-02-07 15:34:42 +01:00
proxy Add port to ServiceResolvers 2019-03-01 16:32:50 -08:00
shufflesharding address some comments 2019-10-11 20:06:31 +08:00
term Moved flag and globalflag 2019-02-15 10:28:13 -05:00
webhook custom retry strategy in GenericWebhook 2019-09-27 13:04:10 +03:00
wsstream Move from glog to klog 2018-11-09 13:49:10 -05:00