func GetInstance(configPath, execType string) *ConfigureMgr {
	configuremgrObj.confpath = configPath
	configuremgrObj.execType = execType
	return configuremgrObj
}
GetInstance set configpath, execution type and gives ConfigureMgrs Singletone instance
package configuremgr
import (
	"errors"
	"fmt"
	"github.com/lf-edge/edge-home-orchestration-go/internal/common/logmgr"
	"io/ioutil"
	"os"
	"path/filepath"
	"strings"
	"time"
	types "github.com/lf-edge/edge-home-orchestration-go/internal/common/types/configuremgrtypes"
	appDB "github.com/lf-edge/edge-home-orchestration-go/internal/db/bolt/application"
	"github.com/fsnotify/fsnotify"
	"gopkg.in/ini.v1"
)
const logPrefix = "Configuremgr"
type Notifier interface {
	Notify(serviceinfo types.ServiceInfo)
}
type Watcher interface {
	Watch(notifier Notifier)
}
type ConfigureMgr struct {
	confpath string
	execType string
}
var (
	appQuery        appDB.DBInterface
	configuremgrObj *ConfigureMgr
	log             = logmgr.GetInstance()
)
func init() {
	appQuery = appDB.Query{}
	configuremgrObj = new(ConfigureMgr)
}