func()

in pkg/nitro_enclaves_device_plugin/device_plugin.go [183:193]


func (nedp *NitroEnclavesDevicePlugin) ListAndWatch(e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error {
	err := s.Send(&pluginapi.ListAndWatchResponse{Devices: nedp.dev})
	if err != nil {
		return err
	}

	//TODO: Device health check goes here
	<-nedp.stop
	return nil

}