- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parseMCPAddr (6.83 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 } } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0)