Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for builtinClasses (0.13 sec)

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

    	disableNameSuffix bool
    
    	// addressType is the default address type to report
    	addressType gateway.AddressType
    }
    
    var classInfos = getClassInfos()
    
    var builtinClasses = getBuiltinClasses()
    
    func getBuiltinClasses() map[gateway.ObjectName]gateway.GatewayController {
    	res := map[gateway.ObjectName]gateway.GatewayController{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion_test.go

    			},
    		},
    	}
    )
    
    func init() {
    	features.EnableAlphaGatewayAPI = true
    	features.EnableAmbientWaypoints = true
    	// Recompute with ambient enabled
    	classInfos = getClassInfos()
    	builtinClasses = getBuiltinClasses()
    }
    
    func TestConvertResources(t *testing.T) {
    	validator := crdvalidation.NewIstioValidator(t)
    	cases := []struct {
    		name string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conversion.go

    	res := map[string]k8s.GatewayController{}
    	// Setup builtin ones - these can be overridden possibly
    	for name, controller := range builtinClasses {
    		res[string(name)] = controller
    	}
    	for _, obj := range r.GatewayClass {
    		gwc := obj.Spec.(*k8s.GatewayClassSpec)
    		_, known := classInfos[gwc.ControllerName]
    		if !known {
    			continue
    		}
    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