- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FindProvisionablePluginByName (0.25 sec)
-
pkg/volume/plugins.go
return recyclableVolumePlugin, nil } return nil, fmt.Errorf("no recyclable volume plugin matched") } // FindProvisionablePluginByName fetches a persistent volume plugin by name. If // no plugin is found, returns error. func (pm *VolumePluginMgr) FindProvisionablePluginByName(name string) (ProvisionableVolumePlugin, error) { volumePlugin, err := pm.FindPluginByName(name) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 38.2K bytes - Viewed (0) -
pkg/volume/local/local_test.go
} createPlug, err := plugMgr.FindCreatablePluginBySpec(spec) if err == nil && createPlug != nil { t.Errorf("Creatable plugin found, expected none") } provisionPlug, err := plugMgr.FindProvisionablePluginByName(localVolumePluginName) if err == nil && provisionPlug != nil { t.Errorf("Provisionable plugin found, expected none") } } func TestFilterPodMounts(t *testing.T) { tmpDir, plug := getPlugin(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 10:53:39 UTC 2023 - 22.5K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
if ctrl.csiMigratedPluginManager.IsMigrationEnabledForPlugin(class.Provisioner) { // CSI migration scenario - do not depend on in-tree plugin return nil, class, nil } plugin, err := ctrl.volumePluginMgr.FindProvisionablePluginByName(class.Provisioner) if err != nil { if !strings.HasPrefix(class.Provisioner, "kubernetes.io/") { // External provisioner is requested, do not report error return nil, class, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0)