- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for map (0.24 sec)
-
cni/pkg/nodeagent/informers_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
Namespace: testNSName, Annotations: map[string]string{}, }, Spec: corev1.PodSpec{ Containers: []corev1.Container{app, proxy}, }, } fakeNS := &corev1.Namespace{ TypeMeta: metav1.TypeMeta{ APIVersion: "core/v1", Kind: "Namespace", }, ObjectMeta: metav1.ObjectMeta{ Name: testNSName, Namespace: "", Labels: map[string]string{}, }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
assert.Equal(t, len(podIPs), 0) } func TestPodRedirectionEnabled(t *testing.T) { var ( ambientEnabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient} ambientDisabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone} sidecarStatusAnnotation = map[string]string{annotation.SidecarStatus.Name: "test"} namespaceWithAmbientEnabledLabel = &corev1.Namespace{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
if getModeLabel(oldNs.Labels) != getModeLabel(newNs.Labels) { log.Debugf("Namespace %s updated", newNs.Name) s.enqueueNamespace(newNs) } } return nil } func getModeLabel(m map[string]string) string { if m == nil { return "" } return m[constants.DataplaneModeLabel] } func (s *InformerHandlers) reconcilePod(input any) error { event := input.(controllers.Event)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Annotations: map[string]string{ annotation.SidecarStatus.Name: `{"revision": "test-anno"}`, }, }, }, expectedRevision: "test-anno", }, { name: "has both rev label and annotation, use label", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 2.9K bytes - Viewed (0)