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

# Functions

NewDeviceMock creates a devices for testing which can have MIG enabled or disabled.
No description provided by the author
NewFullGPU creates a device that can be treated as a full GPU for testing.
NewManagerMockWithDevices creates a mocked manager with the specified devices.
NewMigDevice creates a MIG devices with the specified attributes for testing.
NewMigEnabledDevice creates a GPU with MIG enabled and the specified MIG devices.

# Structs

DeviceMock provides an alias that allows for additional functions to be defined.
ManagerMock provides an alias that allows for additional functions to be defined.