Documentation
¶
Index ¶
Constants ¶
View Source
const ( TASK_NAME_IMPORT_SCRIPT = "Import script for tenant" MYSQL_CONNECTOR = "mysql.connector" PARAM_TENANT_NAME = "tenantName" PARAM_IMPORT_ALWAYS_SUCCESS = "alwaysSuccess" PARAM_PARALLEL_EXECUTE = "parallelExecute" )
Variables ¶
This section is empty.
Functions ¶
func NewParallelImportScriptForTenantNode ¶
func NewParallelImportScriptForTenantNode(executeAgents []meta.AgentInfo, alwaysSuccess bool) *task.Node
alwaysSuccess: if true, the task will always return success, even if the import process fails alwaysSuccess should be true only in take over and upgrade.
Types ¶
type ImportScriptForTenantTask ¶
func (*ImportScriptForTenantTask) CheckEnv ¶
func (t *ImportScriptForTenantTask) CheckEnv() error
func (*ImportScriptForTenantTask) Execute ¶
func (t *ImportScriptForTenantTask) Execute() error
If the python environment is not installed, the task will do nothing
Click to show internal directories.
Click to hide internal directories.