Documentation ¶
Index ¶
- Variables
- func GetAllComponent(dir string) error
- func GetCustomManager(cmd []string) engines.DBManager
- func GetDBManager(cmd []string) (engines.DBManager, error)
- func GetManagerNewFunc(characterType, workloadType string) managerNewFunc
- func GetProperties(name string) engines.Properties
- func InitDBManager(configDir string) error
- func NewClusterCommands(typeName string) (engines.ClusterCommands, error)
- func RegisterEngine(characterType models.EngineType, workloadType string, newFunc managerNewFunc, ...)
- func SetCustomManager(manager engines.DBManager)
- func SetDBManager(manager engines.DBManager)
- type Component
- type ComponentSpec
Constants ¶
This section is empty.
Variables ¶
View Source
var Name2Property = map[string]engines.Properties{}
Functions ¶
func GetAllComponent ¶
func GetCustomManager ¶ added in v0.8.2
func GetManagerNewFunc ¶
func GetManagerNewFunc(characterType, workloadType string) managerNewFunc
func GetProperties ¶
func GetProperties(name string) engines.Properties
func InitDBManager ¶
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 SetDBManager ¶
Types ¶
type Component ¶
type Component struct { Name string Spec ComponentSpec }
type ComponentSpec ¶
type ComponentSpec struct { Version string Metadata []kv }
Click to show internal directories.
Click to hide internal directories.