Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for families (0.18 sec)

  1. src/net/netip/netip.go

    		return ip.addr.xor(p.ip.addr).and(mask6(p.Bits())).isZero()
    	}
    }
    
    // Overlaps reports whether p and o contain any IP addresses in common.
    //
    // If p and o are of different address families or either have a zero
    // IP, it reports false. Like the Contains method, a prefix with an
    // IPv4-mapped IPv6 address is still treated as an IPv6 mask.
    func (p Prefix) Overlaps(o Prefix) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. pkg/registry/core/service/storage/storage.go

    			service.Spec.IPFamilyPolicy = &singleStack
    			service.Spec.IPFamilies = []api.IPFamily{r.primaryIPFamily}
    		}
    	} else {
    		// Headful: init ipFamilies from clusterIPs.
    		service.Spec.IPFamilies = make([]api.IPFamily, len(service.Spec.ClusterIPs))
    		for idx, ip := range service.Spec.ClusterIPs {
    			if netutil.IsIPv6String(ip) {
    				service.Spec.IPFamilies[idx] = api.IPv6Protocol
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. pkg/proxy/util/utils_test.go

    					ClusterIPs: []string{"10.0.0.10"},
    					IPFamilies: []v1.IPFamily{v1.IPv4Protocol},
    				},
    			},
    		},
    
    		{
    			name:           "service single stack ipv4. want ipv6",
    			requestFamily:  v1.IPv6Protocol,
    			expectedResult: "",
    			service: v1.Service{
    				Spec: v1.ServiceSpec{
    					ClusterIPs: []string{"10.0.0.10"},
    					IPFamilies: []v1.IPFamily{v1.IPv4Protocol},
    				},
    			},
    		},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. pkg/registry/core/service/strategy_test.go

    				t.Errorf("expected clusterIPs %q, got %q", tc.expect.Spec.ClusterIP, result.Spec.ClusterIP)
    			}
    			if !reflect.DeepEqual(result.Spec.IPFamilies, tc.expect.Spec.IPFamilies) {
    				t.Errorf("expected ipFamilies %q, got %q", tc.expect.Spec.IPFamilies, result.Spec.IPFamilies)
    			}
    			if !reflect.DeepEqual(result.Spec.IPFamilyPolicy, tc.expect.Spec.IPFamilyPolicy) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. pkg/registry/core/service/strategy.go

    	return sameSingular && samePlural
    }
    
    func sameIPFamilies(oldSvc, newSvc *api.Service) bool {
    	return reflect.DeepEqual(oldSvc.Spec.IPFamilies, newSvc.Spec.IPFamilies)
    }
    
    func getIPFamilyPolicy(svc *api.Service) string {
    	if svc.Spec.IPFamilyPolicy == nil {
    		return ""
    	}
    	return string(*svc.Spec.IPFamilyPolicy)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:36 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. pkg/controller/endpoint/endpoints_controller.go

    	var endpointIP string
    	ipFamily := v1.IPv4Protocol
    
    	if len(svc.Spec.IPFamilies) > 0 {
    		// controller is connected to an api-server that correctly sets IPFamilies
    		ipFamily = svc.Spec.IPFamilies[0] // this works for headful and headless
    	} else {
    		// controller is connected to an api server that does not correctly
    		// set IPFamilies (e.g. old api-server during an upgrade)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. docs/fr/docs/index.md

    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    **Note**
    
    Si vous n'êtes pas familier avec cette notion, consultez la section _"Vous êtes pressés ?"_ à propos de <a href="https://fastapi.tiangolo.com/fr/async/#vous-etes-presses" target="_blank">`async` et `await` dans la documentation</a>.
    
    </details>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/common/deployment/echos.go

    			IncludeExtAuthz: c.IncludeExtAuthz,
    			IPFamilies:      "IPv6, IPv4",
    			IPFamilyPolicy:  "RequireDualStack",
    			DualStack:       true,
    		}
    		eSvc := echo.Config{
    			Service:         ESvc,
    			ServiceAccount:  true,
    			Ports:           ports.All(),
    			Subsets:         []echo.SubsetConfig{{}},
    			IncludeExtAuthz: c.IncludeExtAuthz,
    			IPFamilies:      "IPv6",
    			IPFamilyPolicy:  "SingleStack",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. docs/es/docs/index.md

    * Técnicas más avanzadas, pero igual de fáciles, para declarar **modelos de JSON profundamente anidados** (gracias a Pydantic).
    * Muchas características extra (gracias a Starlette) como:
        * **WebSockets**
        * **GraphQL**
        * pruebas extremadamente fáciles con HTTPX y `pytest`
        * **CORS**
        * **Cookie Sessions**
        * ...y mucho más.
    
    ## Rendimiento
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/deployment.go

    		"Service":        cfg.Service,
    		"Headless":       cfg.Headless,
    		"ServiceAccount": cfg.ServiceAccount,
    		"ServicePorts":   cfg.Ports.GetServicePorts(),
    		"ServiceLabels":  cfg.ServiceLabels,
    		"IPFamilies":     cfg.IPFamilies,
    		"IPFamilyPolicy": cfg.IPFamilyPolicy,
    	}
    }
    
    // createVMConfig sets up a Service account,
    func createVMConfig(ctx resource.Context, cfg echo.Config) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top