Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LockAndCheckSubPath (0.2 sec)

  1. pkg/kubelet/util/util_unsupported.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package util
    
    import (
    	"fmt"
    	"time"
    )
    
    // LockAndCheckSubPath empty implementation
    func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error) {
    	return []uintptr{}, nil
    }
    
    // UnlockPath empty implementation
    func UnlockPath(fileHandles []uintptr) {
    }
    
    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

    }
    
    // check whether hostPath is within volume path
    // this func will lock all intermediate subpath directories, need to close handle outside of this func after container started
    func lockAndCheckSubPath(volumePath, hostPath string) ([]uintptr, error) {
    	if len(volumePath) == 0 || len(hostPath) == 0 {
    		return []uintptr{}, nil
    	}
    
    	finalSubPath, err := evalSymlink(hostPath)
    	if err != nil {
    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