- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetRevisionFromPodAnnotation (0.22 sec)
-
istioctl/pkg/injector/injector-list.go
counts.needsRestart++ } retval[revisionLabel] = counts } return retval } func extractRevisionFromPod(pod *corev1.Pod) string { return describe.GetRevisionFromPodAnnotation(pod.GetAnnotations()) } func injectionDisabled(pod *corev1.Pod) bool { inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name]
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
"imagePullSecrets": null, "revision": "1-13-2" }`, }, expected: "1-13-2", }, } for _, tc := range cases { t.Run("", func(t *testing.T) { got := GetRevisionFromPodAnnotation(tc.anno) assert.Equal(t, tc.expected, got) }) } } func TestFindProtocolForPort(t *testing.T) { http := "HTTP" cases := []struct { port corev1.ServicePort
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
return err } writer := cmd.OutOrStdout() podLabels := klabels.Set(pod.ObjectMeta.Labels) annotations := klabels.Set(pod.ObjectMeta.Annotations) opts.Revision = GetRevisionFromPodAnnotation(annotations) printPod(writer, pod, opts.Revision) svcs, err := client.Kube().CoreV1().Services(ns).List(context.TODO(), metav1.ListOptions{}) if err != nil { return err }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0)