- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewTestExamplePlugin (0.15 sec)
-
pkg/kubelet/pluginmanager/plugin_manager_test.go
socketPath := filepath.Join(pluginDir, fmt.Sprintf("plugin-%d.sock", i)) // Add a new plugin pluginName := fmt.Sprintf("example-plugin-%d", i) p := pluginwatcher.NewTestExamplePlugin(pluginName, registerapi.DevicePlugin, socketPath, supportedVersions...) require.NoError(t, p.Serve("v1beta1", "v1beta2")) // Verify that the plugin is registered waitForRegistration(t, fakeHandler, pluginName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 4.4K bytes - Viewed (0)