kubernetes/pkg/kubelet/apis/config
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
..
fuzzer unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
scheme unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
v1alpha1 generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
v1beta1 unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
validation unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
doc.go Standardize componentconfig code/comment patterns 2018-09-06 13:42:02 +03:00
helpers_test.go Promote Local storage capacity isolation feature to GA 2022-08-02 23:45:48 -07:00
helpers.go moving volume plugin dir to kubelet config - part 1 2020-03-10 16:22:29 -04:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
register_test.go kubelet tracing 2022-08-01 12:55:02 -04:00
register.go kubelet: add CredentialProviderConfig API 2020-11-10 13:44:06 -05:00
types.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
zz_generated.deepcopy.go kubelet tracing: generated files 2022-08-01 12:55:14 -04:00