clbmanager

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

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

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

type ChildCLBConfig

type ChildCLBConfig struct {
	Executable     string
	Name           string
	Directory      string
	DBUser         string
	DBPassword     string
	ConfigFileName string
	LogTo          string
	LogLevel       string
	HTTPPort       int
}

ChildCLBConfig struct to manage child entry

Jump to

Keyboard shortcuts

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