- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for error (0.16 sec)
-
cni/pkg/util/podutil.go
} func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool { return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel" } func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { _, err := client.CoreV1(). Pods(pod.Namespace). Patch( context.Background(), pod.Name, types.MergePatchType, annotationPatch, metav1.PatchOptions{},
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 4.1K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
}, want: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := PodRedirectionEnabled(tt.args.namespace, tt.args.pod); got != tt.want { t.Errorf("PodRedirectionEnabled() = %v, want %v", got, tt.want) } }) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 5.9K bytes - Viewed (0)