Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 236 for nAmespace (0.41 sec)

  1. pilot/pkg/model/push_context.go

    		ps.gatewayIndex.namespace = make(map[string][]config.Config)
    		for _, gatewayConfig := range gatewayConfigs {
    			if _, exists := ps.gatewayIndex.namespace[gatewayConfig.Namespace]; !exists {
    				ps.gatewayIndex.namespace[gatewayConfig.Namespace] = make([]config.Config, 0)
    			}
    			ps.gatewayIndex.namespace[gatewayConfig.Namespace] = append(ps.gatewayIndex.namespace[gatewayConfig.Namespace], gatewayConfig)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  2. pkg/controller/endpoint/endpoints_controller_test.go

    	}
    
    	mux := http.NewServeMux()
    	mux.HandleFunc("/api/v1/namespaces/"+namespace+"/endpoints", handlerFunc)
    	mux.HandleFunc("/api/v1/namespaces/"+namespace+"/endpoints/", handlerFunc)
    	mux.HandleFunc("/api/v1/namespaces/"+namespace+"/events", func(res http.ResponseWriter, req *http.Request) {})
    	mux.HandleFunc("/", func(res http.ResponseWriter, req *http.Request) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    	}{
    		{"Just wildcard", []string{"*/*"}, allContains(nsName, true)},
    		{"Namespace and wildcard", []string{"ns/*", "*/*"}, allContains(nsName, true)},
    		{"Just Namespace", []string{"ns/*"}, allContains(nsName, true)},
    		{"Wrong Namespace", []string{"ns/*"}, allContains("other-ns", false)},
    		{"No Sidecar", nil, allContains("ns", true)},
    		{"No Sidecar Other Namespace", nil, allContains("other-ns", false)},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    			continue
    		} else if len(paramRef.Namespace) > 0 && p.GetNamespace() != paramRef.Namespace {
    			continue
    		}
    
    		if !paramIsClusterScoped {
    			// If the paramRef has empty namespace and the kind is
    			// namespaced-scoped, then it only matches params of the same
    			// namespace
    			if len(paramRef.Namespace) == 0 && p.GetNamespace() != namespacedRequestObject.GetNamespace() {
    				continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crdclient/types.gen.go

    				Generation:        obj.Generation,
    			},
    			Spec: obj,
    		}
    	},
    	gvk.Namespace: func(r runtime.Object) config.Config {
    		obj := r.(*k8sioapicorev1.Namespace)
    		return config.Config{
    			Meta: config.Meta{
    				GroupVersionKind:  gvk.Namespace,
    				Name:              obj.Name,
    				Namespace:         obj.Namespace,
    				Labels:            obj.Labels,
    				Annotations:       obj.Annotations,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceregistry_test.go

    	}
    	labels := map[string]string{
    		"app": "foo",
    	}
    	namespace := "namespace"
    	serviceEntry := config.Config{
    		Meta: config.Meta{
    			Name:             "service-entry",
    			Namespace:        namespace,
    			GroupVersionKind: gvk.ServiceEntry,
    			Domain:           "cluster.local",
    		},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"service.namespace.svc.cluster.local"},
    			Ports: []*networking.ServicePort{port},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    }
    
    func baseNamespacedPod(podName, namespace string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    	}
    }
    
    func baseNamespacedPodUpdated(podName, namespace string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    		Status:     example.PodStatus{Phase: "Running"},
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		Event{Type: "service", ID: "*.google.com", Namespace: httpDNS.Namespace},
    		Event{Type: "eds cache", ID: "*.google.com", Namespace: httpDNS.Namespace},
    		Event{Type: "service", ID: "*.istio.io", Namespace: httpDNSRR.Namespace},
    		Event{Type: "eds cache", ID: "*.istio.io", Namespace: httpDNSRR.Namespace},
    		Event{Type: "service", ID: "tcpstatic.com", Namespace: tcpStatic.Namespace},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. pilot/pkg/model/push_context_test.go

    			deletes: []ConfigKey{{Kind: kind.EnvoyFilter, Name: "b-medium-priority", Namespace: "testns-1"}},
    		},
    		{
    			name:    "delete entire namespace",
    			creates: []config.Config{},
    			updates: []config.Config{},
    			deletes: []ConfigKey{
    				{Kind: kind.EnvoyFilter, Name: "default-priority", Namespace: "testns-1"},
    				{Kind: kind.EnvoyFilter, Name: "b-medium-priority", Namespace: "testns-1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conversion.go

    					string(parent.OriginalReference.Name),
    					string(ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace))))
    			} else {
    				vsHosts = []string{fmt.Sprintf("%s.%s.svc.%s",
    					parent.OriginalReference.Name, ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)), ctx.Domain)}
    			}
    		}
    		if len(routes) == 0 {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top