Make Reflector helpers reusable.
Scheduler uses Reflector from pkg/client/cache. It defines some helper classes. I'd like to use those helpers with pkg/client/cache in kube-proxy and kubelet too.
This commit is contained in:
@@ -44,9 +44,9 @@ kube::test::find_pkgs() {
|
||||
}
|
||||
|
||||
# -covermode=atomic becomes default with -race in Go >=1.3
|
||||
KUBE_COVER=${KUBE_COVER:--cover -covermode=atomic}
|
||||
KUBE_COVER="" #${KUBE_COVER:--cover -covermode=atomic}
|
||||
KUBE_TIMEOUT=${KUBE_TIMEOUT:--timeout 120s}
|
||||
KUBE_RACE=${KUBE_RACE:--race}
|
||||
KUBE_RACE="" #${KUBE_RACE:--race}
|
||||
|
||||
kube::test::usage() {
|
||||
kube::log::usage_from_stdin <<EOF
|
||||
|
Reference in New Issue
Block a user