nvidia-container-toolkit/internal/nvsandboxutils
Sananya Majumder dcbf5bc81f nvsandboxutils: Add implementation for the APIs
This change adds manual wrappers around the generated bindings to make
them into more user-friendly APIs for the caller. Some helper functions
are also added.
The APIs that are currently present in the library and implemented here
are:
nvSandboxUtilsInit
nvSandboxUtilsShutdown
nvSandboxUtilsGetDriverVersion
nvSandboxUtilsGetGpuResource
nvSandboxUtilsGetFileContent

Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Huy Nguyen <huyn@nvidia.com>
Signed-off-by: Sananya Majumder <sananyam@nvidia.com>
2024-09-24 10:05:09 -07:00
..
gen nvsandboxutils: Add script to generate bindings 2024-09-24 10:04:48 -07:00
mock nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
api.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
cgo_helpers_static.go nvsandboxutils: Add implementation for the APIs 2024-09-24 10:05:09 -07:00
cgo_helpers.h nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
const.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
doc.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
dynamicLibrary_mock.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
gpu-resources.go nvsandboxutils: Add implementation for the APIs 2024-09-24 10:05:09 -07:00
impl.go nvsandboxutils: Add implementation for the APIs 2024-09-24 10:05:09 -07:00
lib_test.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
lib.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
nvsandboxutils.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
nvsandboxutils.h nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
refcount_test.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
refcount.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
return.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
types_gen.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00
zz_generated.api.go nvsandboxutils: Add internal bindings 2024-09-24 10:05:05 -07:00