- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for mapsPath (0.18 sec)
-
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy
expect: runsCompiler(gccCygwin64, gccVerboseOutput('7.3', includes)) mapsPath(cygpath, '/usr/include', 'C:\\cygwin\\usr\\include') mapsPath(cygpath, '/usr/local/include', 'C:\\cygwin\\usr\\local\\include') def provider = new GccMetadataProvider(execActionFactory, GCC)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 16 06:01:47 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/volume/util/volumepathhandler/volume_path_handler.go
_, err := os.Stat(mapPath) if err != nil && !os.IsNotExist(err) { return fmt.Errorf("cannot validate map path: %s: %v", mapPath, err) } if err = os.MkdirAll(mapPath, 0750); err != nil { return fmt.Errorf("failed to mkdir %s: %v", mapPath, err) } if bindMount { return mapBindMountDevice(v, devicePath, mapPath, linkName) } return mapSymlinkDevice(v, devicePath, mapPath, linkName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 10.7K bytes - Viewed (0) -
pkg/volume/fc/fc.go
func (c *fcDiskUnmapper) TearDownDevice(mapPath, devicePath string) error { err := c.manager.DetachBlockFCDisk(*c, mapPath, devicePath) if err != nil { return fmt.Errorf("fc: failed to detach disk: %s\nError: %v", mapPath, err) } klog.V(4).Infof("fc: %s is unmounted, deleting the directory", mapPath) if err = os.RemoveAll(mapPath); err != nil {
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/iscsi/iscsi.go
func (c *iscsiDiskUnmapper) TearDownDevice(mapPath, _ string) error { err := c.manager.DetachBlockISCSIDisk(*c, mapPath) if err != nil { return fmt.Errorf("iscsi: failed to detach disk: %s\nError: %v", mapPath, err) } klog.V(4).Infof("iscsi: %q is unmounted, deleting the directory", mapPath) err = os.RemoveAll(mapPath) if err != nil {
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_util.go
} // Check if global map path is valid // global map path examples: // wwn+lun: plugins/kubernetes.io/fc/volumeDevices/50060e801049cfd1-lun-0/ // wwid: plugins/kubernetes.io/fc/volumeDevices/3600508b400105e210000900000490000/ if pathExists, pathErr := checkPathExists(mapPath); !pathExists || pathErr != nil { return pathErr }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 12.8K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_util.go
func (util *ISCSIUtil) DetachBlockISCSIDisk(c iscsiDiskUnmapper, mapPath string) error { if pathExists, pathErr := mount.PathExists(mapPath); pathErr != nil { return fmt.Errorf("error checking if path exists: %w", pathErr) } else if !pathExists { klog.Warningf("Warning: Unmap skipped because path does not exist: %v", mapPath) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 22 12:53:01 UTC 2022 - 34.1K bytes - Viewed (0) -
pkg/volume/fc/fc_test.go
err := os.RemoveAll(globalPath) if err != nil { return err } fake.detachCalled = true return nil } func (fake *fakeDiskManager) DetachBlockFCDisk(c fcDiskUnmapper, mapPath, devicePath string) error { err := os.RemoveAll(mapPath) if err != nil { return err } fake.detachCalled = true return nil } func doTestPlugin(t *testing.T, spec *volume.Spec) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 14.1K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
return unmapper, nil } func (p *csiPlugin) ConstructBlockVolumeSpec(podUID types.UID, specVolName, mapPath string) (*volume.Spec, error) { klog.V(4).Infof("plugin.ConstructBlockVolumeSpec [podUID=%s, specVolName=%s, path=%s]", string(podUID), specVolName, mapPath) dataDir := getVolumeDeviceDataDir(specVolName, p.host) volData, err := loadVolumeData(dataDir, volDataFileName) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/volume/volume.go
BlockVolumeUnmapper // TearDownDevice removes traces of the SetUpDevice procedure. // If the plugin is non-attachable, this method detaches the volume // from a node. TearDownDevice(mapPath string, devicePath string) error // UnmapPodDevice removes traces of the MapPodDevice procedure. UnmapPodDevice() error } // Provisioner is an interface that creates templates for PersistentVolumes
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/kubelet/kubelet_volumes_test.go
} func (f *stubBlockVolume) SetUpDevice() (string, error) { return "", nil } func (f stubBlockVolume) MapPodDevice() error { return nil } func (f *stubBlockVolume) TearDownDevice(mapPath string, devicePath string) error { return nil } func (f *stubBlockVolume) UnmapPodDevice() error { return nil } func (f *stubBlockVolume) SupportsMetrics() bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 17 16:53:28 UTC 2023 - 20.4K bytes - Viewed (0)