Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for TearDownAt (0.18 sec)

  1. pkg/volume/git_repo/git_repo.go

    // TearDown simply deletes everything in the directory.
    func (c *gitRepoVolumeUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    // TearDownAt simply deletes everything in the directory.
    func (c *gitRepoVolumeUnmounter) TearDownAt(dir string) error {
    	return volumeutil.UnmountViaEmptyDir(dir, c.plugin.host, c.volName, wrappedVolumeSpec(), c.podUID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. pkg/volume/hostpath/host_path.go

    // TearDown does nothing.
    func (c *hostPathUnmounter) TearDown() error {
    	return nil
    }
    
    // TearDownAt does not make sense for host paths - probably programmer error.
    func (c *hostPathUnmounter) TearDownAt(dir string) error {
    	return fmt.Errorf("TearDownAt() does not make sense for host paths")
    }
    
    // hostPathProvisioner implements a Provisioner for the HostPath plugin
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. pkg/volume/projected/projected.go

    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *projectedVolumeUnmounter) TearDownAt(dir string) error {
    	klog.V(3).Infof("Tearing down volume %v for pod %v at %v", c.volName, c.podUID, dir)
    
    	wrapped, err := c.plugin.host.NewWrapperUnmounter(c.volName, wrappedVolumeSpec(), c.podUID)
    	if err != nil {
    		return err
    	}
    	if err = wrapped.TearDownAt(dir); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. pkg/volume/configmap/configmap.go

    	*configMapVolume
    }
    
    var _ volume.Unmounter = &configMapVolumeUnmounter{}
    
    func (c *configMapVolumeUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *configMapVolumeUnmounter) TearDownAt(dir string) error {
    	return volumeutil.UnmountViaEmptyDir(dir, c.plugin.host, c.volName, wrappedVolumeSpec(), c.podUID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. pkg/volume/nfs/nfs.go

    	}
    	return nil
    }
    
    var _ volume.Unmounter = &nfsUnmounter{}
    
    type nfsUnmounter struct {
    	*nfs
    }
    
    func (c *nfsUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *nfsUnmounter) TearDownAt(dir string) error {
    	// Use extensiveMountPointCheck to consult /proc/mounts. We can't use faster
    	// IsLikelyNotMountPoint (lstat()), since there may be root_squash on the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. pkg/volume/secret/secret.go

    type secretVolumeUnmounter struct {
    	*secretVolume
    }
    
    var _ volume.Unmounter = &secretVolumeUnmounter{}
    
    func (c *secretVolumeUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *secretVolumeUnmounter) TearDownAt(dir string) error {
    	return volumeutil.UnmountViaEmptyDir(dir, c.plugin.host, c.volName, wrappedVolumeSpec(), c.podUID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. pkg/volume/downwardapi/downwardapi.go

    var _ volume.Unmounter = &downwardAPIVolumeUnmounter{}
    
    func (c *downwardAPIVolumeUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *downwardAPIVolumeUnmounter) TearDownAt(dir string) error {
    	return volumeutil.UnmountViaEmptyDir(dir, c.plugin.host, c.volName, wrappedVolumeSpec(), c.podUID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pkg/volume/portworx/portworx.go

    // 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.
    func (c *portworxVolumeUnmounter) TearDownAt(dir string) error {
    	klog.Infof("Portworx Volume TearDown of %s", dir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. pkg/volume/emptydir/empty_dir.go

    }
    
    // TearDown simply discards everything in the directory.
    func (ed *emptyDir) TearDown() error {
    	return ed.TearDownAt(ed.GetPath())
    }
    
    // TearDownAt simply discards everything in the directory.
    func (ed *emptyDir) TearDownAt(dir string) error {
    	// First remove ready dir which created in SetUp func
    	readyDir := ed.getMetaDir()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. pkg/volume/local/local.go

    }
    
    var _ volume.Unmounter = &localVolumeUnmounter{}
    
    // TearDown unmounts the bind mount
    func (u *localVolumeUnmounter) TearDown() error {
    	return u.TearDownAt(u.GetPath())
    }
    
    // TearDownAt unmounts the bind mount
    func (u *localVolumeUnmounter) TearDownAt(dir string) error {
    	klog.V(4).Infof("Unmounting volume %q at path %q\n", u.volName, dir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top