Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for resourceNames (0.37 sec)

  1. pkg/istio-agent/agent_test.go

    			WithMetadata(meta).
    			WithTimeout(time.Second * 20) // CSR can be extremely slow with race detection enabled due to 2048 RSA
    		sds.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{res}})
    		sdsStreams[res] = sds
    		gotKeys = append(gotKeys, res)
    	}
    	if !reflect.DeepEqual(expectedSDS, gotKeys) {
    		t.Errorf("expected SDS resources %v got %v", expectedSDS, gotKeys)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_test.go

    				proxy.PrevSidecarScope.SetDestinationRulesForTesting(tc.prevConfigs)
    			}
    			clusters, removed, delta := cg.DeltaClusters(proxy, tc.configUpdated,
    				&model.WatchedResource{ResourceNames: tc.watchedResourceNames})
    			if delta != tc.usedDelta {
    				t.Errorf("un expected delta, want %v got %v", tc.usedDelta, delta)
    			}
    			assert.Equal(t, removed, tc.removedClusters)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/helper/helpers_test.go

    	testCases := []struct {
    		resourceName v1.ResourceName
    		expectVal    bool
    	}{
    		{
    			resourceName: "pod.alpha.kubernetes.io/opaque-int-resource-foo",
    			expectVal:    true,
    		},
    		{
    			resourceName: "kubernetes.io/resource-foo",
    			expectVal:    true,
    		},
    		{
    			resourceName: "foo",
    			expectVal:    true,
    		},
    		{
    			resourceName: "a/b",
    			expectVal:    false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. pkg/generated/openapi/zz_generated.openapi.go

    				Type:        []string{"object"},
    				Properties: map[string]spec.Schema{
    					"resourceNames": {
    						VendorExtensible: spec.VendorExtensible{
    							Extensions: spec.Extensions{
    								"x-kubernetes-list-type": "atomic",
    							},
    						},
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    )
    
    var (
    	extendedResourceA     = v1.ResourceName("example.com/aaa")
    	extendedResourceB     = v1.ResourceName("example.com/bbb")
    	kubernetesIOResourceA = v1.ResourceName("kubernetes.io/something")
    	kubernetesIOResourceB = v1.ResourceName("subdomain.kubernetes.io/something")
    	hugePageResourceA     = v1.ResourceName(v1.ResourceHugePagesPrefix + "2Mi")
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

        const SmallSet<StringRef, 4>& resource_names) {
      OpBuilder builder(module.getBodyRegion());
    
      if (!session) return module.emitOpError() << "no session provided";
    
      // Read all resource variables from the session.
      std::vector<std::string> variable_names;
      variable_names.reserve(resource_names.size());
      for (StringRef name : resource_names) variable_names.push_back(name.str());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. pkg/volume/emptydir/empty_dir_test.go

    								Requests: v1.ResourceList{
    									v1.ResourceName("hugepages-1Gi"): resource.MustParse("2Gi"),
    									v1.ResourceName("hugepages-2Mi"): resource.MustParse("100Mi"),
    								},
    							},
    						},
    						{
    							Resources: v1.ResourceRequirements{
    								Requests: v1.ResourceList{
    									v1.ResourceName("hugepages-1Gi"): resource.MustParse("4Gi"),
    									v1.ResourceName("hugepages-2Mi"): resource.MustParse("50Mi"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	"k8s.io/utils/ptr"
    )
    
    var (
    	podKind = v1.SchemeGroupVersion.WithKind("Pod")
    
    	podName       = "my-pod"
    	podUID        = "1234"
    	resourceName  = "my-resource"
    	resourceName2 = resourceName + "-2"
    	claimName     = podName + "-" + resourceName
    	claimName2    = podName + "-" + resourceName + "-2"
    	className     = "my-resource-class"
    	namespace     = "default"
    
    	resourceClass = &resourcev1alpha2.ResourceClass{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/helper/helpers.go

    // resource prefix.
    func IsHugePageResourceName(name v1.ResourceName) bool {
    	return strings.HasPrefix(string(name), v1.ResourceHugePagesPrefix)
    }
    
    // HugePageResourceName returns a ResourceName with the canonical hugepage
    // prefix prepended for the specified page size.  The page size is converted
    // to its canonical representation.
    func HugePageResourceName(pageSize resource.Quantity) v1.ResourceName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
                        buffer.append(resourceName, idx + 1, resourceName.length());
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top