vdemanager

package
v0.0.0-...-5ecede5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2018 License: LGPL-3.0-or-later Imports: 14 Imported by: 6

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL