MCPcopy Create free account
hub / github.com/NVIDIA/gpu-operator / WithRuntimeClassName

Method WithRuntimeClassName

controllers/transforms_test.go:218–221  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

216}
217
218func (p Pod) WithRuntimeClassName(name string) Pod {
219 p.Spec.RuntimeClassName = &name
220 return p
221}
222
223func TestFindContainerByName(t *testing.T) {
224 containers := []corev1.Container{

Calls

no outgoing calls

Tested by

no test coverage detected