MCPcopy
hub / github.com/NVIDIA/k8s-device-plugin / Error

Method Error

internal/cuda/result.go:29–31  ·  view source on GitHub ↗

Error returns the string representation of a Result

()

Source from the content-addressed store, hash-verified

27
28// Error returns the string representation of a Result
29func (r Result) Error() string {
30 return r.String()
31}
32
33var errorStringFunc = defaultErrorStringFunc
34

Callers 15

getResourceManagersMethod · 0.80
TestMigCapabilityLabelerFunction · 0.80
TestGPUModeLabelerFunction · 0.80
TestGetOwnerRefsFunction · 0.80
TestFallbackFunction · 0.80
CreateSpecFileMethod · 0.80
QualifiedNameMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
TestFailOnNVMLInitErrorFunction · 0.80

Calls 1

StringMethod · 0.95

Tested by 13

TestMigCapabilityLabelerFunction · 0.64
TestGPUModeLabelerFunction · 0.64
TestGetOwnerRefsFunction · 0.64
TestFallbackFunction · 0.64
TestFailOnNVMLInitErrorFunction · 0.64
TestUnmarshalFlagsFunction · 0.64