Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 221 for NamespaceId (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    		requestedNamespace string
    		recursive          bool
    		fieldSelector      fields.Selector
    		indexFields        []string
    		watchTests         []*testWatchStruct
    	}{
    		{
    			name:          "namespaced watch, request without name, request without namespace, without field selector",
    			recursive:     true,
    			fieldSelector: fields.Everything(),
    			watchTests: []*testWatchStruct{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    		if paramInformer == nil {
    			return nil, fmt.Errorf("paramKind kind `%v` not known",
    				paramKind.String())
    		}
    
    		// Set up cluster-scoped, or namespaced access to the params
    		// "default" if not provided, and paramKind is namespaced
    		paramStore = paramInformer.Lister()
    		if paramScope.Name() == meta.RESTScopeNameNamespace {
    			paramsNamespace := namespace
    			if len(paramRef.Namespace) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go

    	require.Equal(t, value, object3)
    
    	value, err = myController.Informer().Namespaced(namespacedObject1.GetNamespace()).Get(namespacedObject1.GetName())
    	require.NoError(t, err)
    	require.Equal(t, value, namespacedObject1)
    
    	_, err = myController.Informer().Get("fakeobjectname")
    	require.True(t, k8serrors.IsNotFound(err))
    
    	_, err = myController.Informer().Namespaced("test").Get("fakeobjectname")
    	require.True(t, k8serrors.IsNotFound(err))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/garbagecollector_test.go

    					APIResources: []metav1.APIResource{
    						{Name: "pods", Namespaced: true, Kind: "Pod", Verbs: metav1.Verbs{"delete", "list", "watch"}},
    						{Name: "services", Namespaced: true, Kind: "Service"},
    					},
    				},
    				{
    					// Invalid GroupVersion, should be ignored
    					GroupVersion: "foo//whatever",
    					APIResources: []metav1.APIResource{
    						{Name: "bars", Namespaced: true, Kind: "Bar", Verbs: metav1.Verbs{"delete", "list", "watch"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__authentication.k8s.io__v1alpha1_openapi.json

                "default": "",
                "description": "name is the plural name of the resource.",
                "type": "string"
              },
              "namespaced": {
                "default": false,
                "description": "namespaced indicates if a resource is namespaced or not.",
                "type": "boolean"
              },
              "shortNames": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go

    		}
    
    		apiResourcesForDiscovery = append(apiResourcesForDiscovery, metav1.APIResource{
    			Name:               crd.Status.AcceptedNames.Plural,
    			SingularName:       crd.Status.AcceptedNames.Singular,
    			Namespaced:         crd.Spec.Scope == apiextensionsv1.NamespaceScoped,
    			Kind:               crd.Status.AcceptedNames.Kind,
    			Verbs:              verbs,
    			ShortNames:         crd.Status.AcceptedNames.ShortNames,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 11:40:03 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. pkg/controller/garbagecollector/garbagecollector.go

    	// deleted during a cluster upgrade.
    	resource, namespaced, err := gc.apiResource(reference.APIVersion, reference.Kind)
    	if err != nil {
    		return false, nil, err
    	}
    	if !namespaced {
    		absentOwnerCacheKey.Namespace = ""
    	}
    
    	if len(item.identity.Namespace) == 0 && namespaced {
    		// item is a cluster-scoped object referring to a namespace-scoped owner, which is not valid.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__authentication.k8s.io__v1beta1_openapi.json

                "default": "",
                "description": "name is the plural name of the resource.",
                "type": "string"
              },
              "namespaced": {
                "default": false,
                "description": "namespaced indicates if a resource is namespaced or not.",
                "type": "boolean"
              },
              "shortNames": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/interface.go

    	cache.SharedIndexInformer
    	Lister[T]
    }
    
    // Lister[T] helps list Ts.
    // All objects returned here must be treated as read-only.
    type Lister[T any] interface {
    	NamespacedLister[T]
    	Namespaced(namespace string) NamespacedLister[T]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/rbac/v1/generated.proto

      // Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
      // Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"),  but not both.
      // +optional
      repeated string nonResourceURLs = 5;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top