Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 132 for clusterScope (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

    	return &Tester{
    		tester:  resttest.New(t, storage),
    		storage: storage,
    	}
    }
    
    func (t *Tester) TestNamespace() string {
    	return t.tester.TestNamespace()
    }
    
    func (t *Tester) ClusterScope() *Tester {
    	t.tester = t.tester.ClusterScope()
    	return t
    }
    
    func (t *Tester) Namer(namer func(int) string) *Tester {
    	t.tester = t.tester.Namer(namer)
    	return t
    }
    
    func (t *Tester) AllowCreateOnUpdate() *Tester {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  2. pkg/registry/core/namespace/storage/storage_test.go

    	defer storage.store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.store).ClusterScope().ReturnDeletedObject()
    	test.TestDelete(validNewNamespace())
    }
    
    func TestGet(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.store).ClusterScope()
    
    	// note that this ultimately may call validation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 05:13:34 UTC 2022
    - 19.8K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation_test.go

    						APIGroups:    []string{flowcontrol.APIGroupAll},
    						Resources:    []string{flowcontrol.ResourceAll},
    						ClusterScope: true,
    					}},
    				}},
    			},
    		},
    		expectedErrors: field.ErrorList{},
    	}, {
    		name: "ClusterScope is allowed with NamespaceEvery",
    		flowSchema: &flowcontrol.FlowSchema{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "system-foo",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      repeated string resources = 3;
    
      // `clusterScope` indicates whether to match requests that do not
      // specify a namespace (which happens either because the resource
      // is not namespaced or the request targets all namespaces).
      // If this field is omitted or false then the `namespaces` field
      // must contain a non-empty list.
      // +optional
      optional bool clusterScope = 4;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      repeated string resources = 3;
    
      // `clusterScope` indicates whether to match requests that do not
      // specify a namespace (which happens either because the resource
      // is not namespaced or the request targets all namespaces).
      // If this field is omitted or false then the `namespaces` field
      // must contain a non-empty list.
      // +optional
      optional bool clusterScope = 4;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      repeated string resources = 3;
    
      // `clusterScope` indicates whether to match requests that do not
      // specify a namespace (which happens either because the resource
      // is not namespaced or the request targets all namespaces).
      // If this field is omitted or false then the `namespaces` field
      // must contain a non-empty list.
      // +optional
      optional bool clusterScope = 4;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1/types.go

    	// `clusterScope` indicates whether to match requests that do not
    	// specify a namespace (which happens either because the resource
    	// is not namespaced or the request targets all namespaces).
    	// If this field is omitted or false then the `namespaces` field
    	// must contain a non-empty list.
    	// +optional
    	ClusterScope bool `json:"clusterScope,omitempty" protobuf:"varint,4,opt,name=clusterScope"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      repeated string resources = 3;
    
      // `clusterScope` indicates whether to match requests that do not
      // specify a namespace (which happens either because the resource
      // is not namespaced or the request targets all namespaces).
      // If this field is omitted or false then the `namespaces` field
      // must contain a non-empty list.
      // +optional
      optional bool clusterScope = 4;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1beta2/types.go

    	// `clusterScope` indicates whether to match requests that do not
    	// specify a namespace (which happens either because the resource
    	// is not namespaced or the request targets all namespaces).
    	// If this field is omitted or false then the `namespaces` field
    	// must contain a non-empty list.
    	// +optional
    	ClusterScope bool `json:"clusterScope,omitempty" protobuf:"varint,4,opt,name=clusterScope"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:27:57 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/flowcontrol/v1beta2/generated.proto

      repeated string resources = 3;
    
      // `clusterScope` indicates whether to match requests that do not
      // specify a namespace (which happens either because the resource
      // is not namespaced or the request targets all namespaces).
      // If this field is omitted or false then the `namespaces` field
      // must contain a non-empty list.
      // +optional
      optional bool clusterScope = 4;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top