Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for RES (0.03 sec)

  1. samples/bookinfo/src/productpage/productpage.py

            res = send_request(url, headers=headers, timeout=3.0)
        except BaseException:
            res = None
        if res and res.status_code == 200:
            request_result_counter.labels(destination_app='details', response_code=200).inc()
            return 200, res.json()
        else:
            status = res.status_code if res is not None and res.status_code else 500
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    					continue
    				}
    				if _, f := res[fromKey]; !f {
    					res[fromKey] = map[Reference]*Grants{}
    				}
    				if _, f := res[fromKey][toKey]; !f {
    					res[fromKey][toKey] = &Grants{
    						AllowedNames: sets.New[string](),
    					}
    				}
    				if to.Name != nil {
    					res[fromKey][toKey].AllowedNames.Insert(string(*to.Name))
    				} else {
    					res[fromKey][toKey].AllowAll = true
    				}
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		t.Run(tc.reqPath, func(t *testing.T) {
    			res, err := c.Get(ts.URL + tc.reqPath)
    			if err != nil {
    				t.Fatal(err)
    			}
    			res.Body.Close()
    			if tc.path == "" {
    				if res.StatusCode != StatusNotFound {
    					t.Errorf("got %q, want 404 Not Found", res.Status)
    				}
    				return
    			}
    			if res.StatusCode != StatusOK {
    				t.Fatalf("got %q, want 200 OK", res.Status)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. internal/grid/debug.go

    			return nil, err
    		}
    		m := mux.NewRouter()
    		m.Handle(RoutePath, manager.Handler())
    		res.Managers = append(res.Managers, manager)
    		res.Servers = append(res.Servers, startHTTPServer(listeners[i], m))
    		res.Listeners = append(res.Listeners, listeners[i])
    		res.Mux = append(res.Mux, m)
    	}
    	xioutil.SafeClose(ready)
    	for _, m := range res.Managers {
    		for _, remote := range m.Targets() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    func getVIPs(svc *v1.Service) []string {
    	res := []string{}
    	if svc.Spec.ClusterIP != "" && svc.Spec.ClusterIP != v1.ClusterIPNone {
    		res = append(res, svc.Spec.ClusterIP)
    	}
    	for _, ing := range svc.Status.LoadBalancer.Ingress {
    		// IPs are strictly optional for loadbalancers - they may just have a hostname.
    		if ing.IP != "" {
    			res = append(res, ing.IP)
    		}
    	}
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                ProjectBuildingResult res;
                if (request.getPath().isPresent()) {
                    Path path = request.getPath().get();
                    res = builder.build(path.toFile(), req);
                } else if (request.getSource().isPresent()) {
                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
                    res = builder.build(modelSource, req);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. pilot/pkg/xds/delta.go

    	res := sets.New(existing...)
    	res.InsertAll(request.ResourceNamesSubscribe...)
    	// This is set by Envoy on first request on reconnection so that we are aware of what Envoy knows
    	// and can continue the xDS session properly.
    	for k := range request.InitialResourceVersions {
    		res.Insert(k)
    	}
    	res.DeleteAll(request.ResourceNamesUnsubscribe...)
    	wildcard := false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. src/os/exec_posix.go

    		res = "stop signal: " + status.StopSignal().String()
    		if status.StopSignal() == syscall.SIGTRAP && status.TrapCause() != 0 {
    			res += " (trap " + itoa.Itoa(status.TrapCause()) + ")"
    		}
    	case status.Continued():
    		res = "continued"
    	}
    	if status.CoreDump() {
    		res += " (core dumped)"
    	}
    	return res
    }
    
    // ExitCode returns the exit code of the exited process, or -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. tests/scan_test.go

    	}
    
    	DB.Table("users").Select("id, name, age").Where("id = ?", user2.ID).Scan(&res)
    	if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2)
    	}
    
    	DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. samples/bookinfo/src/details/details.rb

    )
    
    trap 'INT' do server.shutdown end
    
    server.mount_proc '/health' do |req, res|
        res.status = 200
        res.body = {'status' => 'Details is healthy'}.to_json
        res['Content-Type'] = 'application/json'
    end
    
    server.mount_proc '/details' do |req, res|
        pathParts = req.path.split('/')
        headers = get_forward_headers(req)
    
        begin
            begin
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top