- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UnlockPath (0.19 sec)
-
pkg/kubelet/util/util_unsupported.go
import ( "fmt" "time" ) // LockAndCheckSubPath empty implementation func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error) { return []uintptr{}, nil } // UnlockPath empty implementation func UnlockPath(fileHandles []uintptr) { } // LocalEndpoint empty implementation func LocalEndpoint(path, file string) (string, error) { return "", fmt.Errorf("LocalEndpoints are unsupported in this build") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows.go
errorResult = fmt.Errorf("SubPath %q not within volume path %q", currentFullPath, volumePath) break } } return fileHandles, errorResult } // unlockPath unlock directories func unlockPath(fileHandles []uintptr) { if fileHandles != nil { for _, handle := range fileHandles { syscall.CloseHandle(syscall.Handle(handle)) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows_test.go
} } } } fileHandles, err := lockAndCheckSubPath(test.volumePath, test.subPath) unlockPath(fileHandles) assert.Equal(t, test.expectedHandleCount, len(fileHandles)) if test.expectError { assert.NotNil(t, err, "Expect error during LockAndCheckSubPath(%s, %s)", test.volumePath, test.subPath) continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 13.8K bytes - Viewed (0)