- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for deepcopy (0.2 sec)
-
cni/pkg/repair/repair_test.go
}) } } func fakeClient(pods ...*corev1.Pod) kube.Client { var csPods []runtime.Object for _, pod := range pods { csPods = append(csPods, pod.DeepCopy()) } return kube.NewFakeClient(csPods...) } func makePodLabelMap(pods []*corev1.Pod) (podmap map[string]string) { podmap = map[string]string{} for _, pod := range pods { podmap[pod.Name] = ""
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Oct 24 03:31:28 GMT 2023 - 10.6K bytes - Viewed (0)