Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pluginHandler (0.3 sec)

  1. pkg/kubelet/pluginmanager/reconciler/reconciler_test.go

    		fakeRecorder,
    	))
    	reconciler := NewReconciler(
    		oex,
    		reconcilerLoopSleepDuration,
    		dsw,
    		asw,
    	)
    	reconciler.AddHandler(registerapi.DevicePlugin, cache.PluginHandler(di))
    
    	// Start the reconciler to fill ASW.
    	stopChan := make(chan struct{})
    	defer close(stopChan)
    	go reconciler.Run(stopChan)
    	socketPath := filepath.Join(socketDir, "plugin.sock")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_plugin.go

    // corresponding sockets
    var csiDrivers = &DriversStore{}
    
    var nim nodeinfomanager.Interface
    
    // PluginHandler is the plugin registration handler interface passed to the
    // pluginwatcher module in kubelet
    var PluginHandler = &RegistrationHandler{}
    
    // ValidatePlugin is called by kubelet's plugin watcher upon detection
    // of a new registration socket opened by CSI Driver registrar side car.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_plugin_test.go

    			versions:   []string{"var", "boo", "foo"},
    			shouldFail: true,
    		},
    	}
    
    	for _, tc := range testCases {
    		// Arrange & Act
    		err := PluginHandler.ValidatePlugin(tc.pluginName, tc.endpoint, tc.versions)
    
    		// Assert
    		if tc.shouldFail && err == nil {
    			t.Fatalf("expecting ValidatePlugin to fail, but got nil error for testcase: %#v", tc)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/container_manager_linux.go

    		return err
    	}
    
    	return nil
    }
    
    func (cm *containerManagerImpl) GetPluginRegistrationHandler() cache.PluginHandler {
    	return cm.deviceManager.GetWatcherHandler()
    }
    
    // TODO: move the GetResources logic to PodContainerManager.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager.go

    }
    
    // GetWatcherHandler returns the plugin handler
    func (m *ManagerImpl) GetWatcherHandler() cache.PluginHandler {
    	return m.server
    }
    
    // checkpointFile returns device plugin checkpoint file path.
    func (m *ManagerImpl) checkpointFile() string {
    	return filepath.Join(m.checkpointdir, kubeletDeviceManagerCheckpoint)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top