Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitVDEManager ¶
func InitVDEManager()
Types ¶
type ChildVDEConfig ¶
type ChildVDEConfig struct { Executable string Name string Directory string DBUser string DBPassword string ConfigFileName string HTTPPort int }
ChildVDEConfig struct to manage child entry
type VDEManager ¶
type VDEManager struct {
// contains filtered or unexported fields
}
VDEManager struct
var (
Manager *VDEManager
)
func (*VDEManager) CreateVDE ¶
func (mgr *VDEManager) CreateVDE(name, dbUser, dbPassword string, port int) error
CreateVDE creates one instance of VDE
func (*VDEManager) DeleteVDE ¶
func (mgr *VDEManager) DeleteVDE(name string) error
DeleteVDE stop VDE process and remove VDE folder
func (*VDEManager) ListProcess ¶
func (mgr *VDEManager) ListProcess() (map[string]string, error)
ListProcess returns list of process names with state of process
func (*VDEManager) StartVDE ¶
func (mgr *VDEManager) StartVDE(name string) error
StartVDE find process and then start him
func (*VDEManager) StopVDE ¶
func (mgr *VDEManager) StopVDE(name string) error
StopVDE find process with definded name and then stop him
Click to show internal directories.
Click to hide internal directories.