package
0.17.1
Repository: https://github.com/nvidia/k8s-device-plugin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewCudaDevice constructs a new CUDA device.
NewCudaManager returns an resource manger for CUDA devices.
NewFallbackToNullOnInitError creates a manager that becomes a Null manager on the first Init error.
NewManager is a factory method that creates a resource Manager based on the specified config.
NewNullManager returns an instance of a CUDA-based library that can be used when no operations are required.
NewNVMLManager creates a new manager that uses NVML to query and manage devices.
NewVfioManager returns an resource manger for devices with VFIO PCI driver.
WithConfig modifies a manager depending on the specified config.

# Structs

DeviceMock is a mock implementation of Device.
ManagerMock is a mock implementation of Manager.

# Interfaces

Device defines an interface for a device with which labels are associated go:generate moq -out device_mock.go .
Manager defines an interface for managing devices go:generate moq -rm -out manager_mock.go .