- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for TearDownAt (0.35 sec)
-
pkg/volume/csi/csi_mounter.go
} } // volume.Unmounter methods var _ volume.Unmounter = &csiMountMgr{} func (c *csiMountMgr) TearDown() error { return c.TearDownAt(c.GetPath()) } func (c *csiMountMgr) TearDownAt(dir string) error { klog.V(4).Infof(log("Unmounter.TearDownAt(%s)", dir)) volID := c.volumeID csi, err := c.csiClientGetter.Get() if err != nil { // Treat the absence of the CSI driver as a transient error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 30 10:47:59 UTC 2024 - 21K bytes - Viewed (1) -
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) -
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) -
pkg/volume/csi/csi_test.go
} csiUnmounter := unmounter.(*csiMountMgr) csiUnmounter.csiClient = csiClient if err := csiUnmounter.TearDownAt(mounter.GetPath()); err != nil { t.Fatal("csiTest.VolumeAll unmounter.TearDownAt failed:", err) } t.Log("csiTest.VolumeAll unmounter.TearDownAt done OK for dir:", mounter.GetPath()) // unmount device t.Log("csiTest.VolumeAll Unmouting device...")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
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) -
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)