kubernetes/pkg/kubelet
Kubernetes Submit Queue 270b675c61
Merge pull request #65513 from tallclair/test-cleanup2
Automatic merge from submit-queue (batch tested with PRs 65453, 65523, 65513, 65560). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Cleanup verbose cAdvisor mocking in Kubelet unit tests

These tests had a lot of duplicate code to set up the cAdvisor mock, but weren't really depending on the mock functionality. By moving the tests to use the fake cAdvisor, most of the setup can be cleaned up.

/kind cleanup
/sig node

```release-note
NONE
```
2018-06-27 22:30:12 -07:00
..
apis fix wrong output messages about EnforceNodeAllocatable 2018-06-27 15:31:32 +08:00
cadvisor Cleanup verbose cAdvisor mocking in Kubelet unit tests 2018-06-27 11:53:41 -07:00
certificate Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
checkpoint Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
checkpointmanager Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
client Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cm Merge pull request #59214 from kdembler/cpumanager-checkpointing 2018-06-25 18:19:00 -07:00
config Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
configmap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
container Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
custommetrics Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
dockershim Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
envvars Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
events Improve messaging on resize 2018-01-29 15:07:51 -05:00
eviction Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
images Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
kubeletconfig Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
kuberuntime Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
leaky
lifecycle Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
logs Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
metrics Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
mountpod Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
network Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
pleg Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
pod Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
preemption Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
prober Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
qos Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
remote Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
secret Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
server Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
stats Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
status Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
sysctl Run make update 2018-06-06 00:12:40 +02:00
token Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
types Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
util Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
volumemanager Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
winstats Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
active_deadline_test.go
active_deadline.go
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
doc.go
kubelet_getters_test.go
kubelet_getters.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
kubelet_network_test.go Move the kubelet network package down to dockershim 2018-04-11 09:25:56 -07:00
kubelet_network.go Move hairpin mode logic to dockershim 2018-04-11 09:21:17 -07:00
kubelet_node_status_test.go Cleanup verbose cAdvisor mocking in Kubelet unit tests 2018-06-27 11:53:41 -07:00
kubelet_node_status.go Merge pull request #64491 from hzxuzhonghu/kubelet-node-schedule-event-record 2018-06-20 23:02:52 -07:00
kubelet_pods_test.go Merge pull request #64006 from Random-Liu/streaming-auth 2018-05-31 22:45:29 -07:00
kubelet_pods_windows_test.go Add dynamic environment variable substitution to subpaths 2018-05-29 17:01:09 +01:00
kubelet_pods.go Inject ContainersReady 2018-06-05 11:10:38 -07:00
kubelet_resources_test.go Cleanup verbose cAdvisor mocking in Kubelet unit tests 2018-06-27 11:53:41 -07:00
kubelet_resources.go
kubelet_test.go Cleanup verbose cAdvisor mocking in Kubelet unit tests 2018-06-27 11:53:41 -07:00
kubelet_volumes_test.go Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
kubelet_volumes.go Fix issue with race condition during pod deletion 2018-03-15 15:35:37 -07:00
kubelet.go Merge pull request #64860 from wgliang/master.kubelet-check-limit 2018-06-22 04:43:16 -07:00
oom_watcher_test.go
oom_watcher.go
OWNERS
pod_container_deletor_test.go
pod_container_deletor.go kubelet: force filterContainerID to empty string when removeAll is true 2018-04-30 16:29:17 -05:00
pod_workers_test.go
pod_workers.go fixes document grammar 2018-02-20 10:38:41 -05:00
reason_cache_test.go
reason_cache.go
runonce_test.go implement service account token projection 2018-06-04 17:22:08 -07:00
runonce.go fix todo:add function getFailContainer to report which containers failed the pod 2018-03-15 09:38:02 +08:00
runtime.go cleanup some dead kubelet code 2018-05-29 22:38:01 +08:00
util.go
volume_host.go implement service account token projection 2018-06-04 17:22:08 -07:00