- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsInternalGatewayReference (0.17 sec)
-
pkg/config/gateway/kube/gatewayapi.go
package kube import ( "fmt" "strings" "istio.io/istio/pkg/config/constants" ) // IsInternalGatewayReference returns true if gatewayName is referencing the internal // Istio Gateway corresponding to a Kubernetes Gateway API gateway. func IsInternalGatewayReference(gatewayName string) bool { parts := strings.SplitN(gatewayName, "/", 2) if len(parts) == 2 { gatewayName = parts[1] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 05 01:28:52 UTC 2023 - 1.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/virtualservice/gateways.go
vsName := r.Metadata.FullName for i, gwName := range vs.Gateways { // This is a special-case accepted value if gwName == util.MeshGateway { continue } if kubeconfig.IsInternalGatewayReference(gwName) { m := msg.NewReferencedInternalGateway(r, vsName.String(), gwName) if line, ok := util.ErrorLine(r, fmt.Sprintf(util.VSGateway, i)); ok { m.Line = line }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 05 01:28:52 UTC 2023 - 4.1K bytes - Viewed (0)