- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for GetPluginDir (0.2 sec)
-
pkg/volume/local/local.go
}, } return volume.NewSpecFromPersistentVolume(localVolume, false), nil } func (plugin *localVolumePlugin) generateBlockDeviceBaseGlobalPath() string { return filepath.Join(plugin.host.GetPluginDir(localVolumePluginName), util.MountsInGlobalPDPath) } func (plugin *localVolumePlugin) getGlobalLocalPath(spec *volume.Spec) (string, error) {
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
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/csi/csi_attacher.go
} result := sha256.Sum256([]byte(fmt.Sprintf("%s", csiSource.VolumeHandle))) volSha := fmt.Sprintf("%x", result) return filepath.Join(plugin.host.GetPluginDir(plugin.GetPluginName()), driver, volSha, globalMountInGlobalPath), nil } func verifyAttachmentStatus(attachment *storage.VolumeAttachment, volumeHandle string) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 07:38:14 UTC 2023 - 25.9K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller.go
// code to be implemented by all initializers even if the initializer does not // do mounting (like this attach/detach controller). // Issue kubernetes/kubernetes/issues/14217 to fix this. func (adc *attachDetachController) GetPluginDir(podUID string) string { return "" } func (adc *attachDetachController) GetVolumeDevicePluginDir(podUID string) string { return "" } func (adc *attachDetachController) GetPodsDir() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.6K bytes - Viewed (0) -
pkg/volume/util/util.go
} // GetPluginMountDir returns the global mount directory name appended // to the given plugin name's plugin directory func GetPluginMountDir(host volume.VolumeHost, name string) string { mntDir := filepath.Join(host.GetPluginDir(name), MountsInGlobalPDPath) return mntDir } // IsLocalEphemeralVolume determines whether the argument is a local ephemeral // volume vs. some other type
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
if err0 != nil { t.Fatalf("failed to create new attacher: %v", err0) } csiAttacher := getCsiAttacherFromVolumeAttacher(attacher, testWatchTimeout) pluginDir := csiAttacher.plugin.host.GetPluginDir(plug.GetPluginName()) testCases := []struct { testName string pvName string volumeId string skipPVCSISource bool // The test clears PV.Spec.CSI
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0)