- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for builtinClasses (0.19 sec)
-
pilot/pkg/config/kube/gateway/gatewayclass.go
err := istiomultierror.New() for class := range builtinClasses { err = multierror.Append(err, c.reconcileClass(class)) } return err.ErrorOrNil() } func (c *ClassController) reconcileClass(class gateway.ObjectName) error { if c.classes.Get(string(class), "") != nil { log.Debugf("GatewayClass/%v already exists, no action", class) return nil } controller := builtinClasses[class] classInfo, f := classInfos[controller]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 07 20:48:23 UTC 2024 - 4K bytes - Viewed (0) -
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) -
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) -
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)