unsupported

package
v0.0.0-...-b81b3d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 (*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 (c *ClusterUnknown) SQLExplain(_ *gin.Context, _ string, _ string, _ string, _ string) (int64, common.ServiceCode, error)

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 测试集群是否可达

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL