// CreateService creates a new service
CreateService creates a new service
// CreateService creates a new service
func (a *API) CreateService(service *corev1.Service, namespace string) error {
	_, err := a.kubeClient.CoreV1().Services(namespace).Create(service)
	if err != nil {
		return err
	}
	return nil
}
func ( a * API ) CreateService ( service * corev1 . Service , namespace string ) error { _ , err := a . kubeClient . CoreV1 ( ) . Services ( namespace ) . Create ( service ) if err != nil { return err } return nil }
CreateService creates a new service
CreateService creates a new service