- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for removePlugin (0.21 sec)
-
pkg/kubelet/pluginmanager/operationexecutor/operation_executor.go
// An error will be returned if socketPath is empty. AddPlugin(pluginInfo cache.PluginInfo) error // RemovePlugin deletes the plugin with the given socket path from the actual // state of world. // If a plugin does not exist with the given socket path, this is a no-op. RemovePlugin(socketPath string) } type operationExecutor struct { // pendingOperations keeps track of pending attach and detach operations so
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/cache/actual_state_of_world.go
// the actual state of world cache again with the new timestamp AddPlugin(pluginInfo PluginInfo) error // RemovePlugin deletes the plugin with the given socket path from the actual // state of world. // If a plugin does not exist with the given socket path, this is a no-op. RemovePlugin(socketPath string) // PluginExists checks if the given plugin exists in the current actual
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 24 21:20:24 UTC 2022 - 4.1K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/cache/actual_state_of_world_test.go
// Check PluginExistsWithCorrectTimestamp returns false if asw.PluginExistsWithCorrectTimestamp(pluginInfo) { t.Fatalf("PluginExistsWithCorrectTimestamp returns true for plugin that's not registered") } } // Calls RemovePlugin() to remove a plugin // Verifies newly removed plugin no longer exists in GetRegisteredPlugins() // Verifies PluginExistsWithCorrectTimestamp returns false func Test_ASW_RemovePlugin_Positive(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 18 12:18:41 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/cache/desired_state_of_world.go
// An error will be returned if socketPath is empty. AddOrUpdatePlugin(socketPath string) error // RemovePlugin deletes the plugin with the given socket path from the desired // state of world. // If a plugin does not exist with the given socket path, this is a no-op. RemovePlugin(socketPath string) // GetPluginsToRegister generates and returns a list of plugins // in the current desired state of world.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 12:47:44 UTC 2022 - 6.1K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/cache/desired_state_of_world_test.go
} // Check PluginExists returns false if dsw.PluginExists(socketPath) { t.Fatalf("PluginExists returns true for the plugin that should not have been registered") } } // Calls RemovePlugin() to remove a plugin // Verifies newly removed plugin no longer exists in GetPluginsToRegister() // Verifies newly removed plugin returns false for PluginExists() func Test_DSW_RemovePlugin_Positive(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 18 12:18:41 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go
// so that if we receive a register event during Register Plugin, we can process it as a Register call. actualStateOfWorldUpdater.RemovePlugin(pluginInfo.SocketPath) pluginInfo.Handler.DeRegisterPlugin(pluginInfo.Name) klog.V(4).InfoS("DeRegisterPlugin called", "pluginName", pluginInfo.Name, "pluginHandler", pluginInfo.Handler) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:21:15 UTC 2024 - 7.1K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:26:37 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/plugin.go
// signaling it is no longer available. func (h *RegistrationHandler) DeRegisterPlugin(pluginName string) { klog.InfoS("DeRegister DRA plugin", "name", pluginName) deregisterPlugin(pluginName) h.controller.removePlugin(pluginName) } // ValidatePlugin is called by kubelet's plugin watcher upon detection // of a new registration socket opened by DRA plugin.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 16:27:05 UTC 2024 - 6.2K bytes - Viewed (0)