kubernetes/cmd/kubelet/app
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
..
options Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
auth.go API Server Changes 2022-03-07 09:37:01 -05:00
init_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
init_windows_test.go [kubelet] Allow priority to be set for kubelet process on Windows 2020-11-03 01:18:59 +05:30
init_windows.go Run kubelet in a job object in windows 2022-03-15 12:17:52 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
plugins_providerless.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
plugins_providers.go Remove references to openstack and cinder 2022-08-22 16:43:14 -04:00
plugins.go removal of glusterfs in-tree driver code from the source 2022-09-13 20:11:50 +05:30
server_bootstrap_test.go replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
server_linux.go Log StructuredLog: spelling formatting 2022-04-26 17:04:06 +08:00
server_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
server_test.go memory manager: provide new flag var to parse reserved-memory parameter 2021-02-09 01:10:01 +02:00
server_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
server_windows.go Fixing logic for kubelet permissions check on windows 2022-03-24 14:57:08 -07:00
server.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00