- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 66 for volume_plugin (0.36 sec)
-
pkg/volume/nfs/nfs.go
func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin { return []volume.VolumePlugin{ &nfsPlugin{ host: nil, config: volumeConfig, }, } } type nfsPlugin struct { host volume.VolumeHost config volume.VolumeConfig } var _ volume.VolumePlugin = &nfsPlugin{} var _ volume.PersistentVolumePlugin = &nfsPlugin{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/volume/configmap/configmap.go
func ProbeVolumePlugins() []volume.VolumePlugin { return []volume.VolumePlugin{&configMapPlugin{}} } const ( configMapPluginName = "kubernetes.io/configmap" ) // configMapPlugin implements the VolumePlugin interface. type configMapPlugin struct { host volume.VolumeHost getConfigMap func(namespace, name string) (*v1.ConfigMap, error) } var _ volume.VolumePlugin = &configMapPlugin{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
asw.Lock() defer asw.Unlock() volumePlugin, err := asw.volumePluginMgr.FindPluginBySpec(volumeSpec) if err != nil || volumePlugin == nil { return fmt.Errorf( "failed to get Plugin from volumeSpec for volume %q err=%v", volumeSpec.Name(), err) } if len(volumeName) == 0 { volumeName, err = util.GetUniqueVolumeNameFromSpec(volumePlugin, volumeSpec) if err != nil { return fmt.Errorf(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pkg/volume/csi/csi_test.go
t.Fatalf("csiTest.VolumeAll PluginMgr.FindPluginBySpec failed: %v", err) } if volPlug == nil { t.Fatalf("csiTest.VolumeAll volumePlugin is nil") } if !volPlug.CanSupport(volSpec) { t.Fatal("csiTest.VolumeAll volumePlugin.CanSupport returned false") } mounter, err := volPlug.NewMounter(volSpec, pod, volume.VolumeOptions{}) if err != nil || mounter == nil {
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/hostpath/host_path.go
func ProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin { return []volume.VolumePlugin{ &hostPathPlugin{ host: nil, config: volumeConfig, }, } } func FakeProbeVolumePlugins(volumeConfig volume.VolumeConfig) []volume.VolumePlugin { return []volume.VolumePlugin{ &hostPathPlugin{ host: nil, config: volumeConfig,
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/portworx/portworx.go
) // ProbeVolumePlugins is the primary entrypoint for volume plugins. func ProbeVolumePlugins() []volume.VolumePlugin { return []volume.VolumePlugin{&portworxVolumePlugin{nil, nil}} } type portworxVolumePlugin struct { host volume.VolumeHost util *portworxVolumeUtil } var _ volume.VolumePlugin = &portworxVolumePlugin{} var _ volume.PersistentVolumePlugin = &portworxVolumePlugin{}
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/util/operationexecutor/operation_generator_test.go
type testcase struct { name string pluginName string pvSpec v1.PersistentVolumeSpec probVolumePlugins []volume.VolumePlugin } testcases := []testcase{ { name: "gce pd plugin: csi migration disabled", pluginName: "fake-plugin", pvSpec: v1.PersistentVolumeSpec{ PersistentVolumeSource: v1.PersistentVolumeSource{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller.go
expc.recorder.Event(pvc, v1.EventTypeWarning, events.ExternalExpanding, errorMsg) return fmt.Errorf(errorMsg) } return nil } volumePlugin, err := expc.volumePluginMgr.FindExpandablePluginBySpec(volumeSpec) if err != nil || volumePlugin == nil { msg := "waiting for an external controller to expand this PVC" eventType := v1.EventTypeNormal if err != nil { eventType = v1.EventTypeWarning }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/volume/testing/testing.go
func ProbeVolumePlugins(config volume.VolumeConfig) []volume.VolumePlugin { if _, ok := config.OtherAttributes["fake-property"]; ok { return []volume.VolumePlugin{ &FakeVolumePlugin{ PluginName: "fake-plugin", Host: nil, // SomeFakeProperty: config.OtherAttributes["fake-property"] -- string, may require parsing by plugin }, } } return []volume.VolumePlugin{&FakeVolumePlugin{PluginName: "fake-plugin"}} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go
// Arrange fakeVolumeHost := volumetesting.NewFakeVolumeHost(t, "", /* rootDir */ nil, /* kubeClient */ nil, /* plugins */ ) plugins := []volume.VolumePlugin{ &volumetesting.FakeBasicVolumePlugin{ Plugin: volumetesting.FakeVolumePlugin{ PluginName: "basic", }, }, &volumetesting.FakeDeviceMountableVolumePlugin{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0)