Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveTableStatusCount ¶
type ClusterNameView ¶
type ClusterNameView struct { MetaClusterId types.NullInt64 `json:"meta_cluster_id"` ClusterName types.NullString `json:"cluster_name"` }
type GrantInfo ¶
type GrantInfo struct { InstanceId types.NullInt64 `json:"instance_id" gorm:"column:instance_id"` MetaClusterId types.NullInt64 `json:"meta_cluster_id" gorm:"column:meta_cluster_id"` DBHost types.NullString `json:"db_host" gorm:"column:db_host"` DBPort types.NullInt64 `json:"db_port" gorm:"column:db_port"` GrantUser types.NullString `json:"grant_user" gorm:"column:grant_user"` GrantHost types.NullString `json:"grant_host" gorm:"column:grant_host"` GrantInfos []string `json:"grant_infos" form:"grant_infos"` }
type HostPort ¶
type HostPort struct { ID types.NullInt64 `json:"id" gorm:"column:id"` Host types.NullString `json:"host" gorm:"column:host"` MetaClusterId types.NullInt64 `json:"meta_cluster_id" gorm:"column:meta_cluster_id"` Port types.NullInt64 `json:"port" gorm:"column:port"` Role types.NullString `json:"role" gorm:"column:role"` }
type InstanceCluster ¶
type InstanceCluster struct { ID types.NullInt64 `json:"id" gorm:"column:id"` InstanceId types.NullString `json:"instance_id" gorm:"column:instance_id;unique;not null;default:'';size:50"` InstanceName types.NullString `json:"instance_name" gorm:"column:instance_name;not null;default:'';size:50"` MetaClusterId types.NullInt64 `json:"meta_cluster_id" gorm:"column:meta_cluster_id;not null;default:0"` MachineHost types.NullString `json:"machine_host" gorm:"column:machine_host;not null;default:'';size:15"` VpcgwRip types.NullString `json:"vpcgw_rip" gorm:"column:vpcgw_rip;not null;default:'';size:15"` Port types.NullInt64 `json:"port" gorm:"column:port;not null;default:0"` MasterHost types.NullString `json:"master_host" gorm:"column:master_host;not null;default:'';size:15"` MasterPort types.NullInt64 `json:"master_port" gorm:"column:master_port;not null;default:0"` VipPort types.NullString `json:"vip_port" gorm:"column:vip_port;not null;default:'';size:30"` VpcgwVipPort types.NullString `json:"vpcgw_vip_port" gorm:"column:vpcgw_vip_port;not null;default:'';size:30"` ReadHostPort types.NullString `json:"read_host_port" gorm:"column:read_host_port;not null;default:'';size:30"` Role types.NullString `json:"role" gorm:"column:role;not null;default:'';size:15"` Cpu types.NullInt64 `json:"cpu" gorm:"column:cpu;not null;default:0"` Mem types.NullInt64 `json:"mem" gorm:"column:mem;not null;default:0"` Disk types.NullInt64 `json:"disk" gorm:"column:disk;not null;default:0"` Version types.NullString `json:"version" gorm:"column:version;not null;default:'';size:15"` IsMaintenance types.NullInt64 `json:"is_maintenance" gorm:"column:is_maintenance;not null;default:0"` IsDeleted types.NullInt64 `json:"is_deleted" gorm:"column:is_deleted;not null;default:0"` Descript types.NullString `json:"descript" gorm:"column:descript"` UpdatedAt types.NullTime `json:"updated_at" gorm:"column:updated_at"` CreatedAt types.NullTime `json:"created_at" gorm:"column:created_at"` ClusterName types.NullString `json:"cluster_name" gorm:"column:cluster_name;not null;default:'';size:100"` ClusterId types.NullString `json:"cluster_id" gorm:"column:cluster_id;not null;default:'';size:50"` SetName types.NullString `json:"set_name" gorm:"column:set_name;not null;default:'';size:50"` Category types.NullInt64 `json:"category" gorm:"column:category;not null;default:0"` IsShard types.NullInt64 `json:"is_shard" gorm:"column:is_shard;not null;default:0"` ShardType types.NullString `json:"shard_type" gorm:"column:shard_type;not null;default:'';size:20"` }
type MySQLKillTaskView ¶
type MySQLKillTaskView struct { ID types.NullInt64 `json:"id"` ExecUserId types.NullInt64 `json:"exec_user_id"` ExecUserNameZh types.NullString `json:"exec_user_name_zh"` MetaClusterId types.NullInt64 `json:"meta_cluster_id"` InstanceId types.NullInt64 `json:"instance_id"` ClusterName types.NullString `json:"cluster_name"` ExecStatus types.NullInt64 `json:"exec_status"` InstanceHost types.NullString `json:"instance_host"` InstancePort types.NullInt64 `json:"instance_port"` InstanceHostPort types.NullString `json:"instance_host_port"` ProcesslistHosts []string `json:"processlist_hosts"` ProcesslistUsers []string `json:"processlist_users"` ProcesslistDBs []string `json:"processlist_dbs"` ProcesslistCommandTypes []string `json:"processlist_command_types"` ProcesslistStmtTypes []string `json:"processlist_stmt_types"` ProcesslistTime types.NullInt64 `json:"processlist_time"` Duration types.NullInt64 `json:"duration"` Interval types.NullInt64 `json:"interval"` ExecCnt types.NullInt64 `json:"exec_cnt"` KillLogFile types.NullString `json:"kill_log_file"` ErrorMessage types.NullString `json:"error_message"` StartTime types.NullTime `json:"start_time"` EndTime types.NullTime `json:"end_time"` UpdatedAt types.NullTime `json:"updated_at"` CreatedAt types.NullTime `json:"created_at"` }
type MysqlExecResult ¶
type NeedArchiveBusinessSpace ¶
type NeedArchiveBusinessSpace struct { BusinessLine types.NullString `json:"business_line" gorm:"column:business_line"` TableRows types.NullInt64 `json:"table_rows" gorm:"column:table_rows"` DataLength types.NullInt64 `json:"data_length" gorm:"column:data_length"` IndexLength types.NullInt64 `json:"index_length" gorm:"column:index_length"` DataFree types.NullInt64 `json:"data_free" gorm:"column:data_free"` BeforeTableRows types.NullInt64 `json:"before_table_rows" gorm:"column:before_table_rows"` BeforeDataLength types.NullInt64 `json:"before_data_length" gorm:"column:before_data_length"` BeforeIndexLength types.NullInt64 `json:"before_index_length" gorm:"column:before_index_length"` BeforeDataFree types.NullInt64 `json:"before_data_free" gorm:"column:before_data_free"` }
type NeedArchiveTableStat ¶
type NeedArchiveTableStat struct { TableCount types.NullInt64 `json:"table_count"` NewTableCount types.NullInt64 `json:"new_table_count"` DataLength types.NullInt64 `json:"data_length"` IndexLength types.NullInt64 `json:"index_length"` DataFree types.NullInt64 `json:"data_free"` FilterArchiveStatusUnrunCount types.NullInt64 `json:"filter_archive_status_unrun_count"` FilterArchiveStatusRunningCount types.NullInt64 `json:"filter_archive_status_running_count"` FilterArchiveStatusSchedulingCount types.NullInt64 `json:"filter_archive_status_scheduling_count"` }
type NeedArchiveTableStatusStat ¶
type NeedArchiveTableStatusStat struct { TotalArchiveStatusUnrunCount types.NullInt64 `json:"total_archive_status_unrun_count"` TotalArchiveStatusRunningCount types.NullInt64 `json:"total_archive_status_running_count"` TotalArchiveStatusSchedulingCount types.NullInt64 `json:"total_archive_status_scheduling_count"` }
type ShardInfoDetailCluster ¶
type ShardInfoDetailCluster struct { ID types.NullInt64 `json:"id" gorm:"column:id"` ShardInfoId types.NullInt64 `json:"shard_info_id" gorm:"shard_info_id:meta_cluster_id;not null"` MetaClusterId types.NullInt64 `json:"meta_cluster_id" gorm:"column:meta_cluster_id;not null"` VpcgwVipPort types.NullString `json:"vpcgw_vip_port" gorm:"column:vpcgw_vip_port;not null;default:'';size:30"` VipPort types.NullString `json:"vip_port" gorm:"column:vip_port;not null;default:'';size:30"` ClusterName types.NullString `json:"cluster_name" gorm:"column:cluster_name;not null;default:'';size:100"` ClusterId types.NullString `json:"cluster_id" gorm:"column:cluster_id;not null;default:'';size:50"` SetName types.NullString `json:"set_name" gorm:"column:set_name;not null;default:'';size:50"` DBNames types.NullString `json:"db_names" gorm:"column:db_names;not null;default:''"` IsDeleted types.NullInt64 `json:"is_deleted" gorm:"column:is_deleted;not null;default:0"` UpdatedAt types.NullTime `json:"updated_at" gorm:"column:updated_at"` CreatedAt types.NullTime `json:"created_at" gorm:"column:created_at"` }
Click to show internal directories.
Click to hide internal directories.