kubernetes/pkg/kubelet/cm/devicemanager
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
..
checkpoint devicemanager: checkpoint: support pre-1.20 data 2021-10-26 09:54:11 +02:00
plugin/v1beta1 style: remove redundant judgment 2022-08-25 12:07:36 +08:00
endpoint_test.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
endpoint.go Refactor all device plugin logic into separate 'plugin' package 2022-04-29 10:52:37 +00:00
manager_stub.go node: podresources: make GetDevices() consistent 2021-03-09 13:13:36 +01:00
manager_test.go Remove ioutil in kubelet and its tests 2022-07-30 12:35:26 +09:00
manager.go Refactor all device plugin logic into separate 'plugin' package 2022-04-29 10:52:37 +00:00
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
pod_devices_test.go devicemanager: skip unhealthy devs in GetAllocatable 2021-09-22 19:20:04 +02:00
pod_devices.go Merge pull request #103289 from AlexeyPerevalov/DoNotExportEmptyTopology 2021-10-07 07:11:46 -07:00
topology_hints_test.go devicemanager: do not leak empty TopologyInfo to TopologyManager 2022-09-14 16:13:31 +03:00
topology_hints.go devicemanager: do not leak empty TopologyInfo to TopologyManager 2022-09-14 16:13:31 +03:00
types.go Refactor all device plugin logic into separate 'plugin' package 2022-04-29 10:52:37 +00:00