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

# Functions

Merge converts a set of labelers to a single composite labeler.
NewDeviceLabeler creates a new labeler for the specified resource manager.
NewGPUResourceLabeler creates a resource labeler for the specified full GPU device with the specified count.
NewGPUResourceLabelerWithoutSharing creates a resource labeler for the specified device that does not apply sharing labels.
NewLabelers constructs the required labelers from the specified config.
NewMIGResourceLabeler creates a resource labeler for the specified full GPU device with the specified resource name.
TODO: Replace this with functional options.
NewResourceLabeler creates a labeler for available GPU resources.
NewTimestampLabeler creates a new label manager for generating timestamp labels from the specified config.
NewVGPULabeler creates a new VGP label manager using the provided vgpu library and config.
No description provided by the author

# Constants

Constants representing different MIG strategies.
Constants representing different MIG strategies.
Constants representing different MIG strategies.

# Interfaces

Labeler defines an interface for generating labels.
Outputer defines a mechanism to output labels.

# Type aliases

Labels defines a type for labels.
MigDeviceCounts maintains a count of unique MIG device types across all GPUs on a node.