Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PluginConnected (0.12 sec)

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

    		klog.ErrorS(err, "Unable to connect to device plugin client with socket path", "path", c.socket)
    		return err
    	}
    	c.mutex.Lock()
    	c.grpc = conn
    	c.client = client
    	c.mutex.Unlock()
    	return c.handler.PluginConnected(c.resource, c)
    }
    
    // Run is for running the device plugin gRPC client.
    func (c *client) Run() {
    	stream, err := c.client.ListAndWatch(context.Background(), &api.Empty{})
    	if err != nil {
    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.ErrorS(err, "Failed to remove file", "path", filePath)
    			continue
    		}
    	}
    	return errorsutil.NewAggregate(errs)
    }
    
    // PluginConnected is to connect a plugin to a new endpoint.
    // This is done as part of device plugin registration.
    func (m *ManagerImpl) PluginConnected(resourceName string, p plugin.DevicePlugin) error {
    	options, err := p.API().GetDevicePluginOptions(context.Background(), &pluginapi.Empty{})
    	if err != nil {
    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