Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convertGateways (0.12 sec)

  1. pilot/pkg/config/kube/gateway/conversion_test.go

    	kr.Context = NewGatewayContext(cg.PushContext(), "Kubernetes")
    	ctx := configContext{
    		GatewayResources:  kr,
    		AllowedReferences: convertReferencePolicies(kr),
    	}
    	_, gwMap, _ := convertGateways(ctx)
    	ctx.GatewayReferences = gwMap
    
    	b.ResetTimer()
    	for n := 0; n < b.N; n++ {
    		// for gateway routes, build one VS per gateway+host
    		gatewayRoutes := make(map[string]map[string]*config.Config)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    	ctx := configContext{
    		GatewayResources:   r,
    		AllowedReferences:  convertReferencePolicies(r),
    		resourceReferences: make(map[model.ConfigKey][]model.ConfigKey),
    	}
    
    	gw, gwMap, nsReferences := convertGateways(ctx)
    	ctx.GatewayReferences = gwMap
    	result.Gateway = gw
    
    	result.VirtualService = convertVirtualService(ctx)
    
    	// Once we have gone through all route computation, we will know how many routes bound to each gateway.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top