func AdvertiseClientURLs(e *v1alpha1.EtcdCluster) []string {
	clientPort := constants.EtcdDefaultClientPort
	if e.Spec.ClientPort != nil {
		clientPort = int(*e.Spec.ClientPort)
	}
	return []string{
		fmt.Sprintf("%s://%s:%d", SchemeForClient(e), fmt.Sprintf("%s.%s.svc.%s", NameForAccessService(e), e.Namespace, ClusterDomain(e)), clientPort),
	}
}
// AdvertiseClientURLs return the etcd cluster's URL which for client access
AdvertiseClientURLs return the etcd cluster's URL which for client access
// AdvertiseClientURLs return the etcd cluster ' s URL which for client access
func AdvertiseClientURLs(e *v1alpha1.EtcdCluster) []string {
	clientPort := constants.EtcdDefaultClientPort
	if e.Spec.ClientPort != nil {
		clientPort = int(*e.Spec.ClientPort)
	}
	return []string{
		fmt.Sprintf("%s://%s:%d", SchemeForClient(e), fmt.Sprintf("%s.%s.svc.%s", NameForAccessService(e), e.Namespace, ClusterDomain(e)), clientPort),
	}
}
func AdvertiseClientURLs ( e * v1alpha1 . EtcdCluster ) [ ] string { clientPort := constants . EtcdDefaultClientPort if e . Spec . ClientPort != nil { clientPort = int ( * e . Spec . ClientPort ) } return [ ] string { fmt . Sprintf ( " " , SchemeForClient ( e ) , fmt . Sprintf ( " " , NameForAccessService ( e ) , e . Namespace , ClusterDomain ( e ) ) , clientPort ) , } }
AdvertiseClientURLs return the etcd cluster's URL which for client access
AdvertiseClientURLs return the etcd cluster ' s URL which for client access