func ClusterDomain(e *v1alpha1.EtcdCluster) string {
	if e.Annotations != nil && e.Annotations[constants.AnnotationClusterDomain] != "" {
		return e.Annotations[constants.AnnotationClusterDomain]
	}
	return constants.DefaultClusterDomain
}
// ClusterDomain return the cluster domain used by etcd service access
ClusterDomain return the cluster domain used by etcd service access
// ClusterDomain return the cluster domain used by etcd service access
func ClusterDomain(e *v1alpha1.EtcdCluster) string {
	if e.Annotations != nil && e.Annotations[constants.AnnotationClusterDomain] != "" {
		return e.Annotations[constants.AnnotationClusterDomain]
	}
	return constants.DefaultClusterDomain
}
func ClusterDomain ( e * v1alpha1 . EtcdCluster ) string { if e . Annotations != nil && e . Annotations [ constants . AnnotationClusterDomain ] != " " { return e . Annotations [ constants . AnnotationClusterDomain ] } return constants . DefaultClusterDomain }
ClusterDomain return the cluster domain used by etcd service access
ClusterDomain return the cluster domain used by etcd service access