func (t *TestFixture) DeleteService(serviceName string) error {
	err := t.Client.CoreV1().Services(t.Namespace).Delete(context.TODO(), serviceName, metav1.DeleteOptions{})
	if err == nil {
		delete(t.services, serviceName)
	}
	return err
}
// DeleteService deletes a service, and remove it from the cleanup list
DeleteService deletes a service, and remove it from the cleanup list
// DeleteService deletes a service and remove it from the cleanup list
func (t *TestFixture) DeleteService(serviceName string) error {
	err := t.Client.CoreV1().Services(t.Namespace).Delete(context.TODO(), serviceName, metav1.DeleteOptions{})
	if err == nil {
		delete(t.services, serviceName)
	}
	return err
}
func ( t * TestFixture ) DeleteService ( serviceName string ) error { err := t . Client . CoreV1 ( ) . Services ( t . Namespace ) . Delete ( context . TODO ( ) , serviceName , metav1 . DeleteOptions { } ) if err == nil { delete ( t . services , serviceName ) } return err }
DeleteService deletes a service, and remove it from the cleanup list
DeleteService deletes a service and remove it from the cleanup list