register

package
v0.8.2-beta.26 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: AGPL-3.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Name2Property = map[string]engines.Properties{}

Functions

func GetAllComponent

func GetAllComponent(dir string) error

func GetCustomManager added in v0.8.2

func GetCustomManager(cmd []string) engines.DBManager

func GetDBManager

func GetDBManager(cmd []string) (engines.DBManager, error)

func GetManagerNewFunc

func GetManagerNewFunc(characterType, workloadType string) managerNewFunc

func GetProperties

func GetProperties(name string) engines.Properties

func InitDBManager

func InitDBManager(configDir string) error

func NewClusterCommands

func NewClusterCommands(typeName string) (engines.ClusterCommands, error)

func RegisterEngine

func RegisterEngine(characterType models.EngineType, workloadType string, newFunc managerNewFunc, newCommand engines.NewCommandFunc)

func SetCustomManager added in v0.8.2

func SetCustomManager(manager engines.DBManager)

func SetDBManager

func SetDBManager(manager engines.DBManager)

Types

type Component

type Component struct {
	Name string
	Spec ComponentSpec
}

type ComponentSpec

type ComponentSpec struct {
	Version  string
	Metadata []kv
}

Jump to

Keyboard shortcuts

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