Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,878 for nameslice (0.13 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/model/typed_xds_cache_test.go

    		ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(): sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.Gateway, Name: "name", Namespace: "namespace"}.HashCode():         sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.EnvoyFilter, Name: "name", Namespace: "namespace"}.HashCode():     sets.New(secondEntry.Key()),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. pkg/config/schema/kubeclient/resources.gen.go

    	case *apiistioioapinetworkingv1alpha3.DestinationRule:
    		return c.Istio().NetworkingV1alpha3().DestinationRules(namespace).(ktypes.WriteAPI[T])
    	case *k8sioapidiscoveryv1.EndpointSlice:
    		return c.Kube().DiscoveryV1().EndpointSlices(namespace).(ktypes.WriteAPI[T])
    	case *k8sioapicorev1.Endpoints:
    		return c.Kube().CoreV1().Endpoints(namespace).(ktypes.WriteAPI[T])
    	case *apiistioioapinetworkingv1alpha3.EnvoyFilter:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    	}
    	if getCalls != 0 {
    		t.Errorf("Expected no live lookups of the namespace, got %d", getCalls)
    	}
    	getCalls = 0
    
    	// verify delete of namespace can proceed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. pilot/pkg/xds/proxy_dependencies_test.go

    				spiffe.Identity{TrustDomain: "cluster.local", Namespace: "namespace", ServiceAccount: "serviceaccount"}.String(),
    			},
    			sa:        "serviceaccount",
    			namespace: "namespace",
    			success:   true,
    		},
    		{
    			name: "no match namespace",
    			identity: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/tls_test.go

    				},
    				namespace: "bar",
    			},
    			false,
    		},
    		{
    			"source namespace not match when empty",
    			args{
    				match: &v1alpha3.TLSMatchAttributes{
    					SourceNamespace: "foo",
    				},
    				namespace: "",
    			},
    			false,
    		},
    		{
    			"source namespace any",
    			args{
    				match:     &v1alpha3.TLSMatchAttributes{},
    				namespace: "bar",
    			},
    			true,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. cni/pkg/util/podutil_test.go

    				Name:        "test",
    				Namespace:   "test",
    				Labels:      ambientEnabledLabel,
    				Annotations: sidecarStatusAnnotation,
    			},
    		}
    	)
    
    	type args struct {
    		namespace *corev1.Namespace
    		pod       *corev1.Pod
    	}
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    		{
    			name: "ambient mode enabled for namespace",
    			args: args{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. tests/integration/security/main_test.go

    		SetupParallel(
    			namespace.Setup(&echo1NS, namespace.Config{Prefix: "echo1", Inject: true}),
    			namespace.Setup(&echo2NS, namespace.Config{Prefix: "echo2", Inject: true}),
    			namespace.Setup(&externalNS, namespace.Config{Prefix: "external", Inject: false}),
    			namespace.Setup(&serverNS, namespace.Config{Prefix: "servers", Inject: true})).
    		SetupParallel(
    			jwt.Setup(&jwtServer, namespace.Future(&serverNS)),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. pilot/pkg/model/authorization.go

    	Name        string                      `json:"name"`
    	Namespace   string                      `json:"namespace"`
    	Annotations map[string]string           `json:"annotations"`
    	Spec        *authpb.AuthorizationPolicy `json:"spec"`
    }
    
    func (ap *AuthorizationPolicy) NamespacedName() types.NamespacedName {
    	return types.NamespacedName{Name: ap.Name, Namespace: ap.Namespace}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. pkg/kube/krt/index_test.go

    			Name:      "name2",
    			Namespace: "namespace",
    		},
    		Status: corev1.PodStatus{PodIP: "1.2.3.5"},
    	}
    	pc.CreateOrUpdateStatus(pod2)
    	tt.WaitUnordered("add/namespace/name2")
    	assert.Equal(t, Collection.Get(), ptr.Of("namespace/name,namespace/name2"))
    
    	pc.Delete(pod.Name, pod.Namespace)
    	pc.Delete(pod2.Name, pod2.Namespace)
    	tt.WaitUnordered("delete/namespace/name", "delete/namespace/name2")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top