- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewFakeFileVolumePlugin (0.34 sec)
-
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
volumePlugins: []volume.VolumePlugin{}, expectErr: true, expectedErrMsg: "MapVolume.FindMapperPluginBySpec failed", }, "blockVolumePlugin is nil": { volumePlugins: volumetesting.NewFakeFileVolumePlugin(), expectErr: true, expectedErrMsg: "MapVolume.FindMapperPluginBySpec failed to find BlockVolumeMapper plugin. Volume plugin is nil.", }, } for name, tc := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/volume/testing/testing.go
return nil, nil } func (plugin *FakeFileVolumePlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) { return volume.ReconstructedVolume{}, nil } func NewFakeFileVolumePlugin() []volume.VolumePlugin { return []volume.VolumePlugin{&FakeFileVolumePlugin{}} } type FakeVolume struct { sync.RWMutex PodUID types.UID VolName string Plugin *FakeVolumePlugin
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)