kubernetes/pkg/volume
Claudiu Belu 9f95b7b18c unittests: Fixes unit tests for Windows (part 3)
Currently, there are some unit tests that are failing on Windows due to
various reasons:

- paths not properly joined (filepath.Join should be used).
- Proxy Mode IPVS not supported on Windows.
- DeadlineExceeded can occur when trying to read data from an UDP
  socket. This can be used to detect whether the port was closed or not.
- In Windows, with long file name support enabled, file names can have
  up to 32,767 characters. In this case, the error
  windows.ERROR_FILENAME_EXCED_RANGE will be encountered instead.
- files not closed, which means that they cannot be removed / renamed.
- time.Now() is not as precise on Windows, which means that 2
  consecutive calls may return the same timestamp.
- path.Base() will return the same path. filepath.Base() should be used
  instead.
- path.Join() will always join the paths with a / instead of the OS
  specific separator. filepath.Join() should be used instead.
2022-10-21 19:25:48 +03:00
..
awsebs revert interface check 2022-09-13 22:26:06 +08:00
azure_file Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
azuredd Merge pull request #111381 from muyangren2/assert_Equal_azure 2022-09-14 04:59:01 -07:00
cephfs Add humblec to approvers and reviewers list for Ceph driver 2022-09-21 20:01:39 +05:30
configmap various corrections in pkg/volume 2022-09-16 16:42:06 +05:30
csi Merge pull request #112509 from humblec/new-1 2022-09-19 09:09:18 -07:00
csimigration Remove references to openstack and cinder 2022-08-22 16:43:14 -04:00
downwardapi Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
emptydir Use https links for k8s KEPs, issues, PRs, etc 2022-09-23 23:36:24 +00:00
fc various corrections in pkg/volume 2022-09-16 16:42:06 +05:30
flexvolume fsnotify: use event.Has instead of "event.Op&h == h" 2022-10-13 13:42:26 +08:00
gcepd Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
git_repo Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
hostpath Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
iscsi Add SELinux feature check for iSCSI volume plugin 2022-08-04 10:51:47 +02:00
local Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
nfs Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
portworx various corrections in pkg/volume 2022-09-16 16:42:06 +05:30
projected Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
rbd Merge pull request #112640 from humblec/rbd-owner 2022-09-21 19:11:13 -07:00
secret Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
testing Add AddPodToVolume unit tests with SELinux 2022-08-04 10:51:50 +02:00
util unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
validation various corrections in pkg/volume 2022-09-16 16:42:06 +05:30
vsphere_volume Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
doc.go
metrics_block_test.go The test was not very useful and required elevated access 2021-06-04 15:48:35 -04:00
metrics_block.go add volume type and seperated histogram for volume stat collection 2022-01-19 22:33:37 +08:00
metrics_cached.go various corrections in pkg/volume 2022-09-16 16:42:06 +05:30
metrics_du_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
metrics_du.go set metric_source to du or fsquota accordingly 2022-01-20 10:56:02 +08:00
metrics_errors.go Add helper functions for Block volume Capacity detection 2021-05-20 16:37:12 +02:00
metrics_nil_test.go Add SupportsMetrics() for Block-mode volumes 2021-05-20 17:10:23 +02:00
metrics_nil.go Add SupportsMetrics() for Block-mode volumes 2021-05-20 17:10:23 +02:00
metrics_statfs_test.go
metrics_statfs.go add volume type and seperated histogram for volume stat collection 2022-01-19 22:33:37 +08:00
noop_expandable_plugin.go Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
plugins_test.go Add SupportsSELinuxContextMount 2022-08-04 10:51:28 +02:00
plugins.go Remove references to already deleted volume plugins 2022-09-25 15:26:22 -04:00
volume_linux_test.go volume: use the effective uid 2022-08-02 23:47:58 +02:00
volume_linux.go Fix the wrong log 2021-11-17 09:07:07 +08:00
volume_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
volume.go various corrections in pkg/volume 2022-09-16 16:42:06 +05:30