Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for TearDownAt (0.17 sec)

  1. 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)
  2. pkg/volume/iscsi/iscsi.go

    // Unmounts the bind mount, and detaches the disk only if the disk
    // resource was the last reference to that disk on the kubelet.
    func (c *iscsiDiskUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *iscsiDiskUnmounter) TearDownAt(dir string) error {
    	return mount.CleanupMountPoint(dir, c.mounter, false)
    }
    
    // Block Volumes Support
    type iscsiDiskMapper struct {
    	*iscsiDisk
    	readOnly   bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. pkg/volume/fc/fc.go

    // Unmounts the bind mount, and detaches the disk only if the disk
    // resource was the last reference to that disk on the kubelet.
    func (c *fcDiskUnmounter) TearDown() error {
    	return c.TearDownAt(c.GetPath())
    }
    
    func (c *fcDiskUnmounter) TearDownAt(dir string) error {
    	return mount.CleanupMountPoint(dir, c.mounter, false)
    }
    
    // Block Volumes Support
    type fcDiskMapper struct {
    	*fcDisk
    	volume.MetricsProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. pkg/volume/volume.go

    	// removes traces of the SetUp procedure.
    	TearDown() error
    	// TearDown unmounts the volume from the specified directory and
    	// removes traces of the SetUp procedure.
    	TearDownAt(dir string) error
    }
    
    // BlockVolumeMapper interface is a mapper interface for block volume.
    type BlockVolumeMapper interface {
    	BlockVolume
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_mounter_test.go

    	if err != nil {
    		t.Fatalf("failed to make a new Unmounter: %v", err)
    	}
    
    	csiUnmounter := unmounter.(*csiMountMgr)
    	csiUnmounter.csiClient = setupClient(t, true)
    	err = csiUnmounter.TearDownAt(dir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// ensure csi client call
    	pubs := csiUnmounter.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodePublishedVolumes()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  6. pkg/volume/testing/testing.go

    }
    
    func (fv *FakeVolume) TearDown() error {
    	fv.Lock()
    	defer fv.Unlock()
    	fv.TearDownCallCount++
    	return fv.TearDownAt(fv.getPath())
    }
    
    func (fv *FakeVolume) GetTearDownCallCount() int {
    	fv.RLock()
    	defer fv.RUnlock()
    	return fv.TearDownCallCount
    }
    
    func (fv *FakeVolume) TearDownAt(dir string) error {
    	return os.RemoveAll(dir)
    }
    
    // Block volume support
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. pkg/volume/util/util.go

    	// Wrap EmptyDir, let it do the teardown.
    	wrapped, err := host.NewWrapperUnmounter(volName, volSpec, podUID)
    	if err != nil {
    		return err
    	}
    	return wrapped.TearDownAt(dir)
    }
    
    // MountOptionFromSpec extracts and joins mount options from volume spec with supplied options
    func MountOptionFromSpec(spec *volume.Spec, options ...string) []string {
    	pv := spec.PersistentVolume
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top