- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for TearDownAt (0.16 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)