kubernetes/pkg/kubelet/cm
Claudiu Belu 6f2eeed2e8 unittests: Fixes unit tests for Windows
Currently, there are some unit tests that are failing on Windows due to
various reasons:

- config options not supported on Windows.
- files not closed, which means that they cannot be removed / renamed.
- paths not properly joined (filepath.Join should be used).
- time.Now() is not as precise on Windows, which means that 2
  consecutive calls may return the same timestamp.
- different error messages on Windows.
- files have \r\n line endings on Windows.
- /tmp directory being used, which might not exist on Windows. Instead,
  the OS-specific Temp directory should be used.
- the default value for Kubelet's EvictionHard field was containing
  OS-specific fields. This is now moved, the field is now set during
  Kubelet's initialization, after the config file is read.
2022-10-25 23:46:56 +03:00
..
admission smtalign: cm: factor out admission response 2021-07-08 23:15:37 +02:00
containermap cpu manager policy set to none, no one remove container id from container map, lead memory leak 2022-03-30 23:25:05 +08:00
cpumanager unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
cpuset Fix comment typo 2022-03-14 16:53:29 +08:00
devicemanager unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
memorymanager unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
topologymanager Adding unit test for align-by-socket policy option 2022-08-02 11:02:07 -07:00
util generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
cgroup_manager_linux_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
cgroup_manager_linux.go Remove ioutil in kubelet and its tests 2022-07-30 12:35:26 +09:00
cgroup_manager_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
cgroup_manager_unsupported.go kubelet: cgroups: be verbose about validation 2022-03-10 07:25:33 -08:00
container_manager_linux_test.go Merge pull request #111221 from inosato/remove-ioutil-from-kubelet 2022-09-17 21:56:28 -07:00
container_manager_linux.go Merge pull request #111221 from inosato/remove-ioutil-from-kubelet 2022-09-17 21:56:28 -07:00
container_manager_stub.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
container_manager_unsupported.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
container_manager_windows.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
container_manager.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
fake_container_manager.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
fake_internal_container_lifecycle.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
fake_pod_container_manager.go register all pending pod deletions and check for kill 2021-02-04 11:45:42 -06:00
helpers_linux_test.go clarify CPUCFSQuotaPeriod values, set the minimum to 1ms 2022-09-08 23:29:13 +02:00
helpers_linux.go clarify CPUCFSQuotaPeriod values, set the minimum to 1ms 2022-09-08 23:29:13 +02:00
helpers_unsupported.go Clean up logic for deprecated flag --container-runtime in kubelet 2022-02-10 13:26:59 +02:00
helpers.go Enable allocatable support for Windows nodes 2018-10-30 11:17:23 +08:00
internal_container_lifecycle_linux.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
internal_container_lifecycle_unsupported.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
internal_container_lifecycle_windows.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
internal_container_lifecycle.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
node_container_manager_linux_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
node_container_manager_linux.go Generate and format files 2022-07-26 13:14:05 -04:00
OWNERS Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00
pod_container_manager_linux_test.go pkg/kubelet: changes to update runc to 1.1.0 2022-03-28 16:23:20 -07:00
pod_container_manager_linux.go remove ioutil in kubelet 2022-04-27 21:08:42 +08:00
pod_container_manager_stub.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
pod_container_manager_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
qos_container_manager_linux_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
qos_container_manager_linux.go pkg/kubelet: changes to update runc to 1.1.0 2022-03-28 16:23:20 -07:00
types.go kubelet: cgroups: be verbose about validation 2022-03-10 07:25:33 -08:00