Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PluginDisconnected (0.21 sec)

  1. pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go

    	if c.grpc != nil {
    		if err := c.grpc.Close(); err != nil {
    			klog.V(2).ErrorS(err, "Failed to close grcp connection", "resource", c.Resource())
    		}
    		c.grpc = nil
    	}
    	c.mutex.Unlock()
    	c.handler.PluginDisconnected(c.resource)
    	return nil
    }
    
    func (c *client) Resource() string {
    	return c.resource
    }
    
    func (c *client) API() api.DevicePluginClient {
    	return c.client
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:35:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager.go

    	klog.V(2).InfoS("Device plugin connected", "resourceName", resourceName)
    	return nil
    }
    
    // PluginDisconnected is to disconnect a plugin from an endpoint.
    // This is done as part of device plugin deregistration.
    func (m *ManagerImpl) PluginDisconnected(resourceName string) {
    	m.mutex.Lock()
    	defer m.mutex.Unlock()
    
    	if ep, exists := m.endpoints[resourceName]; exists {
    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