Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for Mads (0.17 sec)

  1. docs_src/cookie_params/tutorial001_an.py

    from typing import Union
    
    from fastapi import Cookie, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: Annotated[Union[str, None], Cookie()] = None):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 247 bytes
    - Viewed (0)
  2. docs_src/cookie_params/tutorial001_py310.py

    from fastapi import Cookie, FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(ads_id: str | None = Cookie(default=None)):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 170 bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/route.go

    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range drc {
    		drc[i].RouteConfig.TypeUrl = v3.RouteType
    	}
    	sort.Slice(drc, func(i, j int) bool {
    		r := &route.RouteConfiguration{}
    		err = drc[i].RouteConfig.UnmarshalTo(r)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertTrue(bb.remaining() < bufferSize);
          int before = processCalled;
          super.processRemaining(bb);
          int after = processCalled;
          assertEquals(before + 1, after); // default implementation pads and calls process()
          processCalled--; // don't count the tail invocation (makes tests a bit more understandable)
        }
    
        // ensures that the number of invocations looks sane
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig_test.go

    	const getResponse = `{"name":"ads","description":"ads debugging","output_level":"info","stack_trace_level":"none","log_callers":false}`
    
    	switch request.Method {
    	case http.MethodGet:
    		_, _ = writer.Write([]byte(getResponse))
    	}
    }
    
    func setupHTTPServer() (*httptest.Server, *url.URL) {
    	handler := http.NewServeMux()
    	handler.HandleFunc("/scopej/ads", adsHandler)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/cluster.go

    	}
    	clusters := make([]*cluster.Cluster, 0)
    	for _, c := range clusterDump.DynamicActiveClusters {
    		if c.Cluster != nil {
    			clusterTyped := &cluster.Cluster{}
    			// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    			c.Cluster.TypeUrl = v3.ClusterType
    			err = c.Cluster.UnmarshalTo(clusterTyped)
    			if err != nil {
    				return nil, err
    			}
    			clusters = append(clusters, clusterTyped)
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/listener.go

    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range dal {
    		dal[i].ActiveState.Listener.TypeUrl = v3.ListenerType
    	}
    	sort.Slice(dal, func(i, j int) bool {
    		l := &listener.Listener{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  8. istioctl/pkg/authz/analyzer.go

    func (a *Analyzer) Print(writer io.Writer) {
    	var listeners []*listener.Listener
    	for _, l := range a.listenerDump.DynamicListeners {
    		listenerTyped := &listener.Listener{}
    		// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    		l.ActiveState.Listener.TypeUrl = v3.ListenerType
    		err := l.ActiveState.Listener.UnmarshalTo(listenerTyped)
    		if err != nil {
    			return
    		}
    		listeners = append(listeners, listenerTyped)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/route.go

    	}
    	routes := make([]*route.RouteConfiguration, 0)
    	for _, r := range routeDump.DynamicRouteConfigs {
    		if r.RouteConfig != nil {
    			routeTyped := &route.RouteConfiguration{}
    			// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    			r.RouteConfig.TypeUrl = v3.RouteType
    			err = r.RouteConfig.UnmarshalTo(routeTyped)
    			if err != nil {
    				return nil, err
    			}
    			routes = append(routes, routeTyped)
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  10. architecture/security/istio-agent.md

    requests to the agent, causing the agent to submit a CSR to the configured CA (generally Istiod). For other configuration,
    Envoy will send [ADS](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/operations/dynamic_configuration#aggregated-xds-ads)
    requests to the agent, which will be forwarded to the configured discovery server (general Istiod).
    
    ## CA Flow
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Aug 22 16:45:50 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top