- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for nodeNameIndexFunc (0.17 sec)
-
pkg/registry/core/pod/strategy.go
} // NodeNameTriggerFunc returns value spec.nodename of given object. func NodeNameTriggerFunc(obj runtime.Object) string { return obj.(*api.Pod).Spec.NodeName } // NodeNameIndexFunc return value spec.nodename of given object. func NodeNameIndexFunc(obj interface{}) ([]string, error) { pod, ok := obj.(*api.Pod) if !ok { return nil, fmt.Errorf("not a pod") } return []string{pod.Spec.NodeName}, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 29.8K bytes - Viewed (0)