func (t *TestFixture) CreateService(service *v1.Service) (*v1.Service, error) {
	result, err := t.Client.CoreV1().Services(t.Namespace).Create(context.TODO(), service, metav1.CreateOptions{})
	if err == nil {
		t.services[service.Name] = true
	}
	return result, err
}
// CreateService creates a service, and record it for cleanup
CreateService creates a service, and record it for cleanup
// CreateService creates a service and record it for cleanup
func (t *TestFixture) CreateService(service *v1.Service) (*v1.Service, error) {
	result, err := t.Client.CoreV1().Services(t.Namespace).Create(context.TODO(), service, metav1.CreateOptions{})
	if err == nil {
		t.services[service.Name] = true
	}
	return result, err
}
func ( t * TestFixture ) CreateService ( service * v1 . Service ) ( * v1 . Service , error ) { result , err := t . Client . CoreV1 ( ) . Services ( t . Namespace ) . Create ( context . TODO ( ) , service , metav1 . CreateOptions { } ) if err == nil { t . services [ service . Name ] = true } return result , err }
CreateService creates a service, and record it for cleanup
CreateService creates a service and record it for cleanup