Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for traversePluginDir (0.11 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go

    		return fmt.Errorf("failed to start plugin fsWatcher, err: %v", err)
    	}
    	w.fsWatcher = fsWatcher
    
    	// Traverse plugin dir and add filesystem watchers before starting the plugin processing goroutine.
    	if err := w.traversePluginDir(w.path); err != nil {
    		klog.ErrorS(err, "Failed to traverse plugin socket path", "path", w.path)
    	}
    
    	go func(fsWatcher *fsnotify.Watcher) {
    		for {
    			select {
    			case event := <-fsWatcher.Events:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top