kubernetes/pkg/kubelet/apis/config/validation
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
..
validation_others_test.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
validation_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
validation_reserved_memory_test.go Refactor Kubelet config validation tests 2021-11-18 22:38:01 +09:00
validation_reserved_memory.go Refactor Kubelet config validations 2021-11-18 22:31:31 +09:00
validation_test.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
validation_windows_test.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
validation_windows.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
validation.go clarify CPUCFSQuotaPeriod values, set the minimum to 1ms 2022-09-08 23:29:13 +02:00