package
24.10.0+incompatible
Repository: https://github.com/nvidia/doca-platform.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetAllocatableResources returns the available resources after subtracting the reserved ones from the total ones.
LabelSelectorAsSelector is a wrapper around metav1.LabelSelectorAsSelector() to not select labels.Nothing() when the input is nil.

# Structs

ResourcesExceedError is an error returned by GetAllocatableResources() that indicates that the reserved resources exceed the total resources.