Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 257 for nameslice (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/history/controller_history_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	ss1Rev1.Namespace = ss1.Namespace
    	ss1Rev2, err := NewControllerRevision(ss1, parentKind, ss1.Spec.Template.Labels, rawTemplate(&ss1.Spec.Template), 2, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	ss1Rev2.Namespace = ss1.Namespace
    	ss2Rev1, err := NewControllerRevision(ss2, parentKind, ss2.Spec.Template.Labels, rawTemplate(&ss2.Spec.Template), 1, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  9. plugin/pkg/admission/noderestriction/admission_test.go

    	"k8s.io/kubernetes/pkg/auth/nodeidentifier"
    	"k8s.io/utils/pointer"
    )
    
    func makeTestPod(namespace, name, node string, mirror bool) (*api.Pod, *corev1.Pod) {
    	corePod := &api.Pod{}
    	corePod.Namespace = namespace
    	corePod.UID = types.UID("pod-uid")
    	corePod.Name = name
    	corePod.Spec.NodeName = node
    	v1Pod := &corev1.Pod{}
    	v1Pod.Namespace = namespace
    	v1Pod.UID = types.UID("pod-uid")
    	v1Pod.Name = name
    	v1Pod.Spec.NodeName = node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  10. pkg/controller/endpoint/endpoints_controller_test.go

    			}
    			if epa.TargetRef.Kind != "Pod" {
    				t.Fatalf("TargetRef.Kind: expected: %s, got: %s", "Pod", epa.TargetRef.Kind)
    			}
    			if epa.TargetRef.Namespace != pod.ObjectMeta.Namespace {
    				t.Fatalf("TargetRef.Namespace: expected: %s, got: %s", pod.ObjectMeta.Namespace, epa.TargetRef.Namespace)
    			}
    			if epa.TargetRef.Name != pod.ObjectMeta.Name {
    				t.Fatalf("TargetRef.Name: expected: %s, got: %s", pod.ObjectMeta.Name, epa.TargetRef.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top