Documentation ¶
Overview ¶
---------------------------------------------------------------------------------------------
- Copyright (c) IBAX. All rights reserved.
- See LICENSE in the project root for license information. *--------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
- Copyright (c) IBAX. All rights reserved.
- See LICENSE in the project root for license information. *--------------------------------------------------------------------------------------------
Index ¶
- func InitCLBManager()
- type CLBManager
- func (mgr *CLBManager) CreateCLB(name, dbUser, dbPassword string, port int) error
- func (mgr *CLBManager) DeleteCLB(name string) error
- func (mgr *CLBManager) ListProcess() (map[string]string, error)
- func (mgr *CLBManager) ListProcessWithPorts() (map[string]string, error)
- func (mgr *CLBManager) StartCLB(name string) error
- func (mgr *CLBManager) StopCLB(name string) error
- type ChildCLBConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCLBManager ¶
func InitCLBManager()
Types ¶
type CLBManager ¶
type CLBManager struct {
// contains filtered or unexported fields
}
CLBManager struct
var (
Manager *CLBManager
)
func (*CLBManager) CreateCLB ¶
func (mgr *CLBManager) CreateCLB(name, dbUser, dbPassword string, port int) error
CreateCLB creates one instance of CLB
func (*CLBManager) DeleteCLB ¶
func (mgr *CLBManager) DeleteCLB(name string) error
DeleteCLB stop CLB process and remove CLB folder
func (*CLBManager) ListProcess ¶
func (mgr *CLBManager) ListProcess() (map[string]string, error)
ListProcess returns list of process names with state of process
func (*CLBManager) ListProcessWithPorts ¶
func (mgr *CLBManager) ListProcessWithPorts() (map[string]string, error)
func (*CLBManager) StartCLB ¶
func (mgr *CLBManager) StartCLB(name string) error
StartCLB find process and then start him
func (*CLBManager) StopCLB ¶
func (mgr *CLBManager) StopCLB(name string) error
StopCLB find process with definded name and then stop him
Click to show internal directories.
Click to hide internal directories.