Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 314 for Unmount (0.23 sec)

  1. pkg/volume/emptydir/empty_dir.go

    		return fmt.Errorf("failed to remove ready dir [%s]: %v", readyDir, removeErr)
    	}
    
    	if pathExists, pathErr := mount.PathExists(dir); pathErr != nil {
    		return fmt.Errorf("error checking if path exists: %w", pathErr)
    	} else if !pathExists {
    		klog.Warningf("Warning: Unmount skipped because path does not exist: %v", dir)
    		return nil
    	}
    
    	// Figure out the medium.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. pkg/volume/util/util.go

    				seLinuxOptions = effectiveContainerSecurity.SELinuxOptions
    			}
    		}
    
    		if container.VolumeMounts != nil {
    			for _, mount := range container.VolumeMounts {
    				mounts.Insert(mount.Name)
    				if seLinuxOptions != nil {
    					seLinuxContainerContexts[mount.Name] = append(seLinuxContainerContexts[mount.Name], seLinuxOptions.DeepCopy())
    				}
    			}
    		}
    		if container.VolumeDevices != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor_test.go

    			VolumeName: v1.UniqueVolumeName(pdName),
    			NodeName:   "node-name",
    		}
    		oe.UnmountDevice(attachedVolumes[i], nil /* actualStateOfWorldMounterUpdater */, nil /* mount.Interface */)
    	}
    
    	// Assert
    	if !isOperationRunSerially(ch, quit) {
    		t.Fatalf("Unmount device operations should not start concurrently")
    	}
    }
    
    func TestOperationExecutor_AttachSingleNodeVolumeConcurrentlyToSameNode(t *testing.T) {
    	t.Parallel()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    		PodUID:              types.UID(volume.podName),
    	}
    	metrics.ForceCleanedFailedVolumeOperationsTotal.Inc()
    	// TODO: Currently cleanupMounts only includes UnmountVolume operation. In the next PR, we will add
    	// to unmount both volume and device in the same routine.
    	err := rc.operationExecutor.UnmountVolume(mountedVolume, rc.actualStateOfWorld, rc.kubeletPodsDir)
    	if err != nil {
    		metrics.ForceCleanedFailedVolumeOperationsErrorsTotal.Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/volume/portworx/portworx.go

    	*portworxVolume
    }
    
    var _ volume.Unmounter = &portworxVolumeUnmounter{}
    
    // Unmounts the bind mount, and detaches the disk only if the PD
    // resource was the last reference to that disk on the kubelet.
    func (c *portworxVolumeUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    // Unmounts the bind mount, and detaches the disk only if the PD
    // resource was the last reference to that disk on the kubelet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin.go

    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    //sys	Undelete(path string) (err error)
    //sys	Unlink(path string) (err error)
    //sys	Unmount(path string, flags int) (err error)
    //sys	write(fd int, p []byte) (n int, err error)
    //sys	writev(fd int, iovecs []Iovec) (cnt uintptr, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    //sys	Umask(newmask int) (oldmask int)
    //sys	Undelete(path string) (err error)
    //sys	Unlink(path string) (err error)
    //sys	Unlinkat(dirfd int, path string, flags int) (err error)
    //sys	Unmount(path string, flags int) (err error)
    //sys	write(fd int, p []byte) (n int, err error)
    //sys	mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    //sys	Unlink(path string) (err error)
    //sys	Unlinkat(dirfd int, path string, flags int) (err error)
    //sys	Unmount(path string, flags int) (err error)
    //sys	write(fd int, p []byte) (n int, err error)
    //sys	mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.go

    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    //sys	Unlink(path string) (err error)
    //sys	Unlinkat(dirfd int, path string, flags int) (err error)
    //sys	Unmount(path string, flags int) (err error)
    //sys	write(fd int, p []byte) (n int, err error)
    //sys	mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		if len(arg.Name) == 0 {
    			allErrs = append(allErrs, field.Invalid(fldPath, fmt.Sprintf("index %d", idx), "argument has no name"))
    		}
    	}
    
    	return allErrs
    }
    
    // ValidateUnmountFlags validates a set of unmount flags and collects all encountered errors
    func ValidateUnmountFlags(flags []string, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    
    	for idx, flag := range flags {
    		switch flag {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top