Documentation ¶
Index ¶
- Variables
- func InitApp()
- func Working(x Worker)
- type AppDBMap
- type AppInfo
- type ClassAppDBMap
- type ClassAppInfo
- type ClassDBInfo
- type ClassMYSQLClusterInfo
- type ClassMYSQLServerInfo
- type ClassMiddlewareClusterInfo
- type ClassMiddlewareServerInfo
- type ClassMonitorSystemInfo
- type ClassUserInfo
- type DBInfo
- type MYSQLClusterInfo
- type MYSQLServerInfo
- type MiddlewareClusterInfo
- type MiddlewareServerInfo
- type MonitorSystemInfo
- type UserInfo
- type Worker
Constants ¶
This section is empty.
Variables ¶
View Source
var AppCode string
View Source
var AppSecret string
View Source
var AppUsername string
Functions ¶
Types ¶
type AppDBMap ¶
type AppDBMap struct { // ID int `json:"id"` // AppID int `json:"app_id"` AI_AppName string `json:"ai_app_name"` // DBID int `json:"db_id"` DI_DBName string `json:"di_db_name"` MCI_ClusterName string `json:"mci_cluster_name"` DI_ClusterType int `json:"di_clster_type"` DI_EnvID int `json:"di_env_id"` DelFlag int `json:"del_flag"` }
t_meta_app_db_map
type AppInfo ¶
type AppInfo struct { // ID int `json:"id"` AppName string `json:"app_name"` Level int `json:"level"` // OwnerID int `json:"owner_id"` UI_AccountName string `json:"ui_account_name"` DelFlag int `json:"del_flag"` }
t_meta_app_info
type ClassAppDBMap ¶
type ClassAppDBMap struct{}
func (*ClassAppDBMap) Sync ¶
func (tb *ClassAppDBMap) Sync()
type ClassAppInfo ¶
type ClassAppInfo struct{}
func (*ClassAppInfo) Sync ¶
func (tb *ClassAppInfo) Sync()
type ClassDBInfo ¶
type ClassDBInfo struct{}
func (*ClassDBInfo) Sync ¶
func (tb *ClassDBInfo) Sync()
type ClassMYSQLClusterInfo ¶
type ClassMYSQLClusterInfo struct{}
func (*ClassMYSQLClusterInfo) Get ¶
func (tb *ClassMYSQLClusterInfo) Get(url string, page int) (bool, *[]MYSQLClusterInfo, int)
func (*ClassMYSQLClusterInfo) Sync ¶
func (tb *ClassMYSQLClusterInfo) Sync()
type ClassMYSQLServerInfo ¶
type ClassMYSQLServerInfo struct{}
func (*ClassMYSQLServerInfo) Get ¶
func (tb *ClassMYSQLServerInfo) Get(url string, page int) (bool, *[]MYSQLServerInfo, int)
func (*ClassMYSQLServerInfo) Sync ¶
func (tb *ClassMYSQLServerInfo) Sync()
type ClassMiddlewareClusterInfo ¶
type ClassMiddlewareClusterInfo struct{}
func (*ClassMiddlewareClusterInfo) Get ¶
func (tb *ClassMiddlewareClusterInfo) Get(url string, page int) (bool, *[]MiddlewareClusterInfo, int)
func (*ClassMiddlewareClusterInfo) Sync ¶
func (tb *ClassMiddlewareClusterInfo) Sync()
type ClassMiddlewareServerInfo ¶
type ClassMiddlewareServerInfo struct{}
func (*ClassMiddlewareServerInfo) Get ¶
func (tb *ClassMiddlewareServerInfo) Get(url string, page int) (bool, *[]MiddlewareServerInfo, int)
func (*ClassMiddlewareServerInfo) Sync ¶
func (tb *ClassMiddlewareServerInfo) Sync()
type ClassMonitorSystemInfo ¶
type ClassMonitorSystemInfo struct{}
func (*ClassMonitorSystemInfo) Get ¶
func (tb *ClassMonitorSystemInfo) Get(url string, page int) (bool, *[]MonitorSystemInfo, int)
func (*ClassMonitorSystemInfo) Sync ¶
func (tb *ClassMonitorSystemInfo) Sync()
type ClassUserInfo ¶
type ClassUserInfo struct{}
func (*ClassUserInfo) Sync ¶
func (tb *ClassUserInfo) Sync()
type DBInfo ¶
type DBInfo struct { // ID int `json:"id"` DBName string `json:"db_name"` // ClusterID int `json:"cluster_id"` MCI_ClusterName string `json:"mci_cluster_name"` ClusterType int `json:"cluster_type"` // OwnerID int `json:"owner_id"` UI_AccountName string `json:"ui_account_name"` EnvID int `json:"env_id"` DelFlag int `json:"del_flag"` }
t_meta_db_info
type MYSQLClusterInfo ¶
type MYSQLClusterInfo struct { // ID int `json:"id"` ClusterName string `json:"cluster_name"` // MiddlewareClusterID int `json:"middleware_cluster_id"` MCI_ClusterName string `json:"mci_cluster_name"` // MonitorSystemID int `json:"monitor_system_id"` MSI_SystemName string `json:"msi_system_name"` // OwnerID int `json:"owner_id"` UI_AccountName string `json:"ui_account_name"` EnvID int `json:"env_id"` DelFlag int `json:"del_flag"` }
t_meta_mysql_cluster_info
type MYSQLServerInfo ¶
type MYSQLServerInfo struct { // ID int `json:"id"` // ClusterID int `json:"cluster_id"` MCI_ClusterName string `json:"mci_cluster_name"` MCI_EnvID int `json:"mci_env_id"` ServerName string `json:"server_name"` ServiceName string `json:"service_name"` HostIP string `json:"host_ip"` PortNum int `json:"port_num"` DeploymentType int `json:"deployment_type"` Version string `json:"version"` DelFlag int `json:"del_flag"` }
t_meta_mysql_server_info
type MiddlewareClusterInfo ¶
type MiddlewareClusterInfo struct { // ID int `json:"id"` ClusterName string `json:"cluster_name"` // OwnerID int `json:"owner_id"` UI_AccountName string `json:"ui_account_name"` EnvID int `json:"env_id"` DelFlag int `json:"del_flag"` }
t_meta_middleware_cluster_info
type MiddlewareServerInfo ¶
type MiddlewareServerInfo struct { // ID int `json:"id"` // ClusterID int `json:"cluster_id"` MCI_ClusterName string `json:"mci_cluster_name"` MCI_EnvID int `json:"mci_env_id"` ServerName string `json:"server_name"` MiddlewareRole int `json:"middleware_role"` HostIP string `json:"host_ip"` PortNum int `json:"port_num"` DelFlag int `json:"del_flag"` }
t_meta_middleware_server_info
type MonitorSystemInfo ¶
type MonitorSystemInfo struct { // ID int `json:"id"` MonitorSystemName string `json:"system_name"` MonitorSystemType int `json:"system_type"` MonitorSystemHostIP string `json:"host_ip"` MonitorSystemPortNum int `json:"port_num"` MonitorSystemPortNumSlow int `json:"port_num_slow"` EnvID int `json:"env_id"` BaseUrl string `json:"base_url"` DelFlag int `json:"del_flag"` }
t_meta_monitor_system_info
type UserInfo ¶
type UserInfo struct { // ID int `json:"id"` UserName string `json:"user_name"` DepartmentName string `json:"department_name"` EmployeeID int `json:"employee_id"` AccountName string `json:"account_name"` Email string `json:"email"` Telephone string `json:"telephone"` Mobile string `json:"mobile"` Role int `json:"role"` DelFlag int `json:"del_flag"` }
t_meta_user_info
Click to show internal directories.
Click to hide internal directories.