Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnlockPath (0.18 sec)

  1. 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)
  2. 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)
Back to top