- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for corsPolicy (0.14 sec)
-
pilot/pkg/networking/core/listener_waypoint.go
} if in.Fault != nil || in.CorsPolicy != nil { out.TypedPerFilterConfig = make(map[string]*any.Any) } if in.Fault != nil { out.TypedPerFilterConfig[wellknown.Fault] = protoconv.MessageToAny(istio_route.TranslateFault(in.Fault)) } if in.CorsPolicy != nil { out.TypedPerFilterConfig[wellknown.CORS] = protoconv.MessageToAny(istio_route.TranslateCORSPolicy(lb.node, in.CorsPolicy)) } return out }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
} for _, name := range http.Headers.GetResponse().GetRemove() { errs = AppendValidation(errs, ValidateHTTPHeaderOperationName(name)) } errs = AppendValidation(errs, validateCORSPolicy(http.CorsPolicy)) errs = AppendValidation(errs, validateHTTPFaultInjection(http.Fault)) // nolint: staticcheck if http.MirrorPercent != nil { if value := http.MirrorPercent.GetValue(); value > 100 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
} return result } func convertHTTPRoute(r k8s.HTTPRouteRule, ctx configContext, obj config.Config, pos int, enforceRefGrant bool, ) (*istio.HTTPRoute, *ConfigError) { // TODO: implement rewrite, timeout, corspolicy, retries vs := &istio.HTTPRoute{} // Auto-name the route. If upstream defines an explicit name, will use it instead // The position within the route is unique
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
pkg/config/validation/validation.go
} if len(weights) > 1 && totalWeight == 0 { errs = appendErrors(errs, fmt.Errorf("total destination weight = 0")) } return } func validateCORSPolicy(policy *networking.CorsPolicy) (errs error) { if policy == nil { return } for _, origin := range policy.AllowOrigins { errs = appendErrors(errs, validateAllowOrigins(origin)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0)