handlers

package
v0.0.0-...-f4c3a3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

func Status

func Status(resp http.ResponseWriter, req *http.Request)

Status handles HTTP requests for DCGM daemon status It returns either JSON or formatted text output based on the request URL

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL