Documentation
¶
Index ¶
- func DeviceInfo(resp http.ResponseWriter, req *http.Request)
- func DeviceInfoByUuid(resp http.ResponseWriter, req *http.Request)
- func DeviceStatus(resp http.ResponseWriter, req *http.Request)
- func DeviceStatusByUuid(resp http.ResponseWriter, req *http.Request)
- func DevicesUuids()
- func Health(resp http.ResponseWriter, req *http.Request)
- func HealthByUuid(resp http.ResponseWriter, req *http.Request)
- func ProcessInfo(resp http.ResponseWriter, req *http.Request)
- func Status(resp http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeviceInfo ¶
func DeviceInfo(resp http.ResponseWriter, req *http.Request)
DeviceInfo handles HTTP requests for device information by device ID It returns either JSON or formatted text output based on the request URL
func DeviceInfoByUuid ¶
func DeviceInfoByUuid(resp http.ResponseWriter, req *http.Request)
DeviceInfoByUuid handles HTTP requests for device information by GPU UUID It returns either JSON or formatted text output based on the request URL
func DeviceStatus ¶
func DeviceStatus(resp http.ResponseWriter, req *http.Request)
DeviceStatus handles HTTP requests for device status by device ID It returns either JSON or formatted text output based on the request URL
func DeviceStatusByUuid ¶
func DeviceStatusByUuid(resp http.ResponseWriter, req *http.Request)
DeviceStatusByUuid handles HTTP requests for device status by GPU UUID It returns either JSON or formatted text output based on the request URL
func DevicesUuids ¶
func DevicesUuids()
DevicesUuids initializes a global map of GPU UUIDs to device IDs This must be called before using UUID-based endpoints
func Health ¶
func Health(resp http.ResponseWriter, req *http.Request)
Health handles HTTP requests for device health status by device ID It returns either JSON or formatted text output based on the request URL
func HealthByUuid ¶
func HealthByUuid(resp http.ResponseWriter, req *http.Request)
HealthByUuid handles HTTP requests for device health status by GPU UUID It returns either JSON or formatted text output based on the request URL
func ProcessInfo ¶
func ProcessInfo(resp http.ResponseWriter, req *http.Request)
ProcessInfo handles HTTP requests for process information by PID It returns either JSON or formatted text output based on the request URL
Types ¶
This section is empty.