Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for addService (0.12 sec)

  1. pilot/pkg/xds/eds_sh_test.go

    		})
    	}
    
    	svcLabels := map[string]string{
    		"version": "v1.1",
    	}
    
    	// Explicit test service, in the v2 memory registry. Similar with mock.MakeService,
    	// but easier to read.
    	memRegistry.AddService(&model.Service{
    		Hostname:       "service5.default.svc.cluster.local",
    		DefaultAddress: "10.10.0.1",
    		Ports: []*model.Port{
    			{
    				Name:     "http-main",
    				Port:     1080,
    				Protocol: protocol.HTTP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			defer controller.pods.RUnlock()
    			if _, ok := controller.pods.podsByIP[ip]; ok {
    				return fmt.Errorf("pod still present")
    			}
    			return nil
    		}, retry.Timeout(time.Second))
    	}
    	addService := func(name string) {
    		// create service
    		createServiceWait(controller, name, "nsA", nil, nil,
    			[]int32{8080}, map[string]string{"app": "prod-app"}, t)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

          return op->emitOpError(llvm::formatv(
              "bad '{0}' attribute at index {1}, not a string", kDevicesAttr, idx));
    
        if (DeviceNameUtils::ParseFullName(string_attr.getValue().str(), &device)) {
          devices->AddDevice(device);
        } else {
          return op->emitOpError(
              llvm::formatv("bad '{0}' attribute, '{1}', not a valid device",
                            kDevicesAttr, string_attr.getValue()));
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

      devices.push_back(FakeDevice::Make(gpu0, "compute capability: 7.0"));
      devices.push_back(FakeDevice::Make(gpu1));
    
      DeviceSet device_set;
      for (auto& device : devices) device_set.AddDevice(device.get());
      AddDevicesToOp(*module_ref, &device_set);
    
      auto devices_attr =
          (*module_ref)->getAttrOfType<mlir::DictionaryAttr>("tf.devices");
      ASSERT_NE(devices_attr, nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

      devices.push_back(FakeDevice::Make(kHostName, DEVICE_CPU));
    
      std::unique_ptr<DeviceSet> device_set(new DeviceSet());
      for (auto& device : devices) {
        device_set->AddDevice(device.get());
      }
    
      auto graph = std::make_unique<Graph>(OpRegistry::Global());
      SessionOptions session_options;
      session_options.config.mutable_graph_options()
          ->mutable_optimizer_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	// Now add few services in between and validate that IPs are retained for original services.
    	addServices := map[string]bool{
    		"b.com": true,
    		"d.com": true,
    		"f.com": true,
    		"h.com": true,
    		"j.com": true,
    		"m.com": true,
    		"p.com": true,
    		"q.com": true,
    		"r.com": true,
    	}
    
    	for k := range addServices {
    		inServices = append(inServices, &model.Service{
    			Hostname:       host.Name(k),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top