func newDriverService(cr *v1alpha1.RethinkDBCluster) *corev1.Service {
	svc := newService(cr)
	svc.Spec.Ports = []corev1.ServicePort{
		corev1.ServicePort{Port: RethinkDBDriverPort, Name: RethinkDBDriverKey},
	}
	return svc
}
// newDriverService constructs a new driver Service object.
newDriverService constructs a new driver Service object.
// newDriverService constructs a new driver Service object .
func newDriverService(cr *v1alpha1.RethinkDBCluster) *corev1.Service {
	svc := newService(cr)
	svc.Spec.Ports = []corev1.ServicePort{
		corev1.ServicePort{Port: RethinkDBDriverPort, Name: RethinkDBDriverKey},
	}
	return svc
}
func newDriverService ( cr * v1alpha1 . RethinkDBCluster ) * corev1 . Service { svc := newService ( cr ) svc . Spec . Ports = [ ] corev1 . ServicePort { corev1 . ServicePort { Port : RethinkDBDriverPort , Name : RethinkDBDriverKey } , } return svc }
newDriverService constructs a new driver Service object.
newDriverService constructs a new driver Service object .