- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parseMCPAddr (0.05 sec)
-
istioctl/pkg/multixds/gather.go
if wh.ClientConfig.URL != nil { u, err := url.Parse(*wh.ClientConfig.URL) if err != nil { return nil, fmt.Errorf("parsing webhook URL: %w", err) } if isMCPAddr(u) { return parseMCPAddr(u) } port := u.Port() if port == "" { port = "443" // default from Kubernetes } return &xdsAddr{host: net.JoinHostPort(u.Hostname(), port)}, nil } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.6K bytes - Viewed (0)