Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JoinHostPort (0.2 sec)

  1. istioctl/pkg/multixds/gather.go

    				}
    				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
    			}
    		}
    	}
    	return nil, errors.New("xds address not found")
    }
    
    // nolint: lll
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top