Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetHttpCookie (0.25 sec)

  1. pilot/pkg/networking/core/route/route.go

    					HeaderName: consistentHash.GetHttpHeaderName(),
    				},
    			},
    		}
    	case *networking.LoadBalancerSettings_ConsistentHashLB_HttpCookie:
    		cookie := consistentHash.GetHttpCookie()
    		var ttl *durationpb.Duration
    		if cookie.GetTtl() != nil {
    			ttl = cookie.GetTtl()
    		}
    		return &route.RouteAction_HashPolicy{
    			PolicySpecifier: &route.RouteAction_HashPolicy_Cookie_{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    	if settings == nil {
    		return
    	}
    
    	// simple load balancing is always valid
    	consistentHash := settings.GetConsistentHash()
    	if consistentHash != nil {
    		httpCookie := consistentHash.GetHttpCookie()
    		if httpCookie != nil && httpCookie.GetName() == "" {
    			errs = AppendValidation(errs, fmt.Errorf("name required for HttpCookie"))
    		}
    		if consistentHash.MinimumRingSize != 0 { // nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top