Documentation
¶
Index ¶
- Variables
- type ClusterUnknown
- func (c *ClusterUnknown) ClusterInfo(_ *gin.Context) (string, string, string, string, common.ServiceCode, error)
- func (c *ClusterUnknown) GetClusterBigTables(*gin.Context, int) (any, common.ServiceCode, error)
- func (c *ClusterUnknown) GetDatabases(_ *gin.Context) ([]string, common.ServiceCode, error)
- func (c *ClusterUnknown) GetDiskUsage(_ *gin.Context) (int, error)
- func (c *ClusterUnknown) GetDiskUsed(_ *gin.Context) (int, error)
- func (c *ClusterUnknown) GetFreeDisk(_ *gin.Context) (int, error)
- func (c *ClusterUnknown) GetTables(_ *gin.Context, _ string) ([]string, common.ServiceCode, error)
- func (c *ClusterUnknown) GetTablesSize(_ *gin.Context, _ string, _ []string) (int, common.ServiceCode, error)
- func (c *ClusterUnknown) SQLExplain(_ *gin.Context, _ string, _ string, _ string, _ string) (int64, common.ServiceCode, error)
- func (c *ClusterUnknown) TablesHasPrimaryKey(_ *gin.Context, _ string, _ []string) (bool, common.ServiceCode, error)
- func (c *ClusterUnknown) TestConnect(_ *gin.Context) (common.ServiceCode, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var UnSupportClusterType = errors.New("unsupported cluster type")
Functions ¶
This section is empty.
Types ¶
type ClusterUnknown ¶
type ClusterUnknown struct { }
func (*ClusterUnknown) ClusterInfo ¶
func (c *ClusterUnknown) ClusterInfo(_ *gin.Context) (string, string, string, string, common.ServiceCode, error)
func (*ClusterUnknown) GetClusterBigTables ¶
func (c *ClusterUnknown) GetClusterBigTables(*gin.Context, int) (any, common.ServiceCode, error)
func (*ClusterUnknown) GetDatabases ¶
func (c *ClusterUnknown) GetDatabases(_ *gin.Context) ([]string, common.ServiceCode, error)
GetDatabases 查询库列表
func (*ClusterUnknown) GetDiskUsage ¶
func (c *ClusterUnknown) GetDiskUsage(_ *gin.Context) (int, error)
func (*ClusterUnknown) GetDiskUsed ¶
func (c *ClusterUnknown) GetDiskUsed(_ *gin.Context) (int, error)
func (*ClusterUnknown) GetFreeDisk ¶
func (c *ClusterUnknown) GetFreeDisk(_ *gin.Context) (int, error)
func (*ClusterUnknown) GetTables ¶
func (c *ClusterUnknown) GetTables(_ *gin.Context, _ string) ([]string, common.ServiceCode, error)
GetTables 查询表列表
func (*ClusterUnknown) GetTablesSize ¶
func (c *ClusterUnknown) GetTablesSize(_ *gin.Context, _ string, _ []string) (int, common.ServiceCode, error)
func (*ClusterUnknown) SQLExplain ¶
func (*ClusterUnknown) TablesHasPrimaryKey ¶
func (c *ClusterUnknown) TablesHasPrimaryKey(_ *gin.Context, _ string, _ []string) (bool, common.ServiceCode, error)
func (*ClusterUnknown) TestConnect ¶
func (c *ClusterUnknown) TestConnect(_ *gin.Context) (common.ServiceCode, error)
TestConnect 测试集群是否可达
Click to show internal directories.
Click to hide internal directories.