func (tc *testContext) deleteWindowsInstanceConfigMap() error {
	err := tc.client.K8s.CoreV1().ConfigMaps(tc.namespace).Delete(context.TODO(), controllers.InstanceConfigMap,
		metav1.DeleteOptions{})
	if err != nil && !apierrors.IsNotFound(err) {
		return err
	}
	return nil
}
// deleteWindowsInstanceConfigMap deletes the windows-instances configmap if it exists
deleteWindowsInstanceConfigMap deletes the windows-instances configmap if it exists
// deleteWindowsInstanceConfigMap deletes the windows - instances configmap if it exists
func (tc *testContext) deleteWindowsInstanceConfigMap() error {
	err := tc.client.K8s.CoreV1().ConfigMaps(tc.namespace).Delete(context.TODO(), controllers.InstanceConfigMap,
		metav1.DeleteOptions{})
	if err != nil && !apierrors.IsNotFound(err) {
		return err
	}
	return nil
}
func ( tc * testContext ) deleteWindowsInstanceConfigMap ( ) error { err := tc . client . K8s . CoreV1 ( ) . ConfigMaps ( tc . namespace ) . Delete ( context . TODO ( ) , controllers . InstanceConfigMap , metav1 . DeleteOptions { } ) if err != nil && ! apierrors . IsNotFound ( err ) { return err } return nil }
deleteWindowsInstanceConfigMap deletes the windows-instances configmap if it exists
deleteWindowsInstanceConfigMap deletes the windows - instances configmap if it exists