prometheus/discovery/kubernetes
Yecheng Fu 46683dd67d Simplify code.
- Unified `send` function.
- Pass InformerSynced functions to `cache.WaitForCacheSync`.
- Use `Role\w+` constants instead of literal string.

Signed-off-by: Yecheng Fu <cofyc.jackson@gmail.com>
2018-04-25 19:29:21 +02:00
..
endpoints.go Simplify code. 2018-04-25 19:29:21 +02:00
endpoints_test.go Refactor Kubernetes Discovery Part 2: Refactoring 2018-04-25 19:28:34 +02:00
ingress.go Simplify code. 2018-04-25 19:29:21 +02:00
ingress_test.go Refactor Kubernetes Discovery Part 2: Refactoring 2018-04-25 19:28:34 +02:00
kubernetes.go Simplify code. 2018-04-25 19:29:21 +02:00
kubernetes_test.go Fix grammar in comments and add missing `expectedMaxItems` to let it 2018-04-25 19:29:03 +02:00
node.go Simplify code. 2018-04-25 19:29:21 +02:00
node_test.go Refactor Kubernetes Discovery Part 2: Refactoring 2018-04-25 19:28:34 +02:00
pod.go Simplify code. 2018-04-25 19:29:21 +02:00
pod_test.go Fix grammar in comments and add missing `expectedMaxItems` to let it 2018-04-25 19:29:03 +02:00
service.go Simplify code. 2018-04-25 19:29:21 +02:00
service_test.go Refactor Kubernetes Discovery Part 2: Refactoring 2018-04-25 19:28:34 +02:00