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

Function labelled

internal/validator/validator_test.go:76–80  ·  view source on GitHub ↗
(labels map[string]string)

Source from the content-addressed store, hash-verified

74}
75
76func labelled(labels map[string]string) nodeOptions {
77 return func(n *corev1.Node) {
78 n.Labels = labels
79 }
80}
81
82type nodeOptions func(*corev1.Node)
83

Callers 1

TestCheckNodeSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected