Documentation
¶
Index ¶
- Variables
- func AddJob(userID int32, params map[string]any) response.TResponse
- func AddTable(userID int32, params map[string]any) response.TResponse
- func AlterJob(userID int32, params map[string]any) response.TResponse
- func AlterTable(userID int32, params map[string]any) response.TResponse
- func CheckJob(userID int32, params map[string]any) response.TResponse
- func CheckJobLoaded(userID int32, params map[string]any) response.TResponse
- func CheckJobTable(userID int32, params map[string]any) response.TResponse
- func CheckSQLValid(_ int32, params map[string]any) response.TResponse
- func ClearJobLog(userID int32, params map[string]any) response.TResponse
- func ClearTableLog(userID int32, params map[string]any) response.TResponse
- func ConvertFromClickHouseDDL(userID int32, params map[string]any) response.TResponse
- func CreateMyPushPlugin() plugins.IPlugin
- func DeleteJob(userID int32, params map[string]any) response.TResponse
- func DeleteJobLog(userID int32, params map[string]any) response.TResponse
- func DeleteTable(userID int32, params map[string]any) response.TResponse
- func DeleteTableLog(userID int32, params map[string]any) response.TResponse
- func GenerateInsertFromClickHouseSQL(userID int32, params map[string]any) response.TResponse
- func GetDestTableColumns(userID int32, params map[string]any) response.TResponse
- func GetDestTables(userID int32, params map[string]any) response.TResponse
- func GetJobs(userID int32, params map[string]any) response.TResponse
- func GetPushTables(userID int32, params map[string]any) response.TResponse
- func GetSourceConnOption(_ int32, _ map[string]any) response.TResponse
- func GetSourceQuoteFlag(_ int32, _ map[string]any) response.TResponse
- func GetSourceTableColumns(_ int32, params map[string]any) response.TResponse
- func GetSourceTables(_ int32, _ map[string]any) response.TResponse
- func InitPlugin()
- func OffLineJob(userID int32, params map[string]any) response.TResponse
- func OnLineJob(userID int32, params map[string]any) response.TResponse
- func QueryJobLogs(userID int32, params map[string]any) response.TResponse
- func QueryTableLogs(userID int32, params map[string]any) response.TResponse
- func SetJobStatus(userID int32, params map[string]any) response.TResponse
- func SetTableStatus(userID int32, params map[string]any) response.TResponse
- type TBasePlugin
- type TMyPlugin
- func (mp *TMyPlugin) CustomInterface(pluginOperate plugins.TPluginOperate) (resp response.TResponse)
- func (mp *TMyPlugin) GetConfigTemplate() response.TResponse
- func (mp *TMyPlugin) Load(config string) error
- func (mp *TMyPlugin) Run(config string) (resp response.TResponse)
- func (mp *TMyPlugin) Stop() response.TResponse
- type TPluginFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var PluginServ plugins.IPlugin
View Source
var SerialNumber string
Functions ¶
func CreateMyPushPlugin ¶
func GetDestTableColumns ¶
func GetSourceTableColumns ¶
func InitPlugin ¶
func InitPlugin()
Types ¶
type TBasePlugin ¶
type TBasePlugin = pluginBase.TBasePlugin
type TMyPlugin ¶
type TMyPlugin struct {
TBasePlugin
HostPubUrl string `json:"host_pub_url"`
DbDriverDir string `json:"db_driver_dir,omitempty"`
ClickhouseCfg string `json:"clickhouse_cfg,omitempty"`
}
func (*TMyPlugin) CustomInterface ¶
func (mp *TMyPlugin) CustomInterface(pluginOperate plugins.TPluginOperate) (resp response.TResponse)
func (*TMyPlugin) GetConfigTemplate ¶
GetConfigTemplate 向客户端返回配置信息的样例
Click to show internal directories.
Click to hide internal directories.