Documentation
¶
Index ¶
- Constants
- type Action
- type ClusterCreateAction
- type ClusterGetAllAction
- type ClusterGetByIdAction
- type ClusterInitAction
- type ClusterToggleAction
- type CreateDbAction
- type CreateTableAction
- type DeleteTableAction
- type EditTableAction
- type GetAllDbAction
- type GetAllDbViewAction
- type GetAllTableAction
- type GetTableColumns
- type GetUnhealthyRanges
- type GetUnstableRanges
- type LockClusterGetAction
- type LockGetAllNspAction
- type LockNspApplyAction
- type LockNspUpdateAction
- type MasterAllAction
- type MasterLeaderAction
- type MasterLogLevelUpdate
- type NodeDelete
- type NodeLogLevelUpdate
- type NodeRangeTopo
- type NodeStatusUpdate
- type NodeViewInfo
- type PeerAdd
- type PeerDelete
- type PeerInfoView
- type PrivilegeDelAction
- type PrivilegeInfoAction
- type PrivilegeUpdateAction
- type RangeBatchRecover
- type RangeDelete
- type RangeDuplicateAction
- type RangeInfoView
- type RangeLeaderChange
- type RangeOffline
- type RangeOpsTopN
- type RangeRebuild
- type RangeReplace
- type RangeTopo
- type RangeTransfer
- type RangeUpdate
- type RangeViewInfo
- type Response
- type RoleAddAction
- type RoleDelAction
- type RoleInfoAction
- type SchedulerAdjustAction
- type SchedulerAllAction
- type SchedulerDetailAction
- type StoreDataQuery
- type TableTopologyAction
- type TaskOperation
- type TaskPresent
- type TaskTypeAllAction
- type TopologyAction
- type TopologyRangeCreateAction
- type TopologyViewAction
- type UserAdminAction
Constants ¶
View Source
const ( REQURI_CLUSTER_GETALL = "/cluster/queryClusters" REQURI_CLUSTER_GETBYID = "/cluster/getById" REQURI_CLUSTER_CREATE = "/cluster/createCluster" REQURI_CLUSTER_INIT = "/cluster/initCluster" REQURI_CLUSTER_TOGGLEAUTO = "/cluster/toggleAuto" )
View Source
const ( REQURI_LOCK_NAMESPACE_GETALL = "/lock/namespace/queryList" REQURI_LOCK_NAMESPACE_APPLY = "/lock/namespace/apply" REQURI_LOCK_CLUSTER_INFO = "/lock/cluster/get" REQURI_LOCK_NAMESPACE_UPDATE = "/lock/namespace/update" )
View Source
const ( REQURI_MASTER_All = "/master/queryAll" REQURI_MASTER_Leader = "/master/queryLeader" REQURI_MASTER_LOGLEVEL_UPDATE = "/master/logLevelUpdate" )
View Source
const ( REQURL_META_CREATEDB = "/metadata/createDb" REQURL_META_GETALLDB = "/metadata/dbDataGetAll" REQURL_META_GETALLDBVIEW = "/metadata/dbDataGetAllViewPage" REQURL_META_CREATETABLE = "/metadata/createTable" REQURL_META_GETALLTABLE = "/metadata/dbTablesDataGetByDbName" REQURL_META_DELTABLE = "/metadata/delTable" REQURL_META_EDITTABLE = "/metadata/editTable" REQURL_META_GETTABLECOLUMNS = "/metadata/getTableColumns" RANGE_GETRANGEBYDBTABLE = "/range/getRangeByBbTable" )
View Source
const ( NODE_NODEINFOGETALL = "/node/nodeInfoGetAll" NODE_NODESTATUSUPDATE = "/node/nodeStatusUpdate" NODE_NODELOGLEVELUPDATE = "/node/nodeLogLevelUpdate" NODE_DELETENODE = "/node/deleteNode" NODE_GET_RANGE_TOPOLOGY = "/node/getRangeTopoByNode" )
View Source
const ( RANGE_PEERDEL = "/range/peerDel" RANGE_PEERADD = "/range/peerAdd" RANGE_GET_UNHEALTHY_RANGES = "/range/getUnhealthyRanges" RANGE_GET_UNSTABLE_RANGES = "/range/getUnstableRanges" RANGE_GET_PEER_INFO = "/range/getPeerInfo" RANGE_GET_RANGE_INFO_BY_ID = "/range/getRangeInfoById" RANGE_UPDATE_RANGE = "/range/updateRange" RANGE_OFFLINE_RANGE = "/range/offlineRange" RANGE_REBUILD_RANGE = "/range/rebuildRange" RANGE_REPLACE_RANGE = "/range/replaceRange" RANGE_DELETE_RANGE = "/range/delete" RANGE_GET_TOPOLOGY = "/range/getRangeTopoByRange" RANGE_BATCH_RECOVER_RANGE = "/range/batchRecoverRange" RANGE_TRANSFER = "/range/transfer" RANGE_CHANGE_LEADER = "/range/changeLeader" RANGE_OPS_TOPN = "/range/getOpsTopN" RANGE_DUPLICATE_GET = "/table/duplicateRange" TASK_GET_PRESENT = "/task/getPresentTaskById" TASK_OPERATION = "/task/taskOperationById" )
View Source
const ( REQURI_SCHEDULER_GETALL = "/scheduler/getAll" REQURI_SCHEDULER_GETDETAIL = "/scheduler/getDetail" REQURI_SCHEDULER_ADJUST = "/scheduler/adjust" REQURI_TASK_GETTASKTYPEALL = "/task/getTypeAll" )
View Source
const ( REQURI_TOPOLOGY_CHECK = "/topology/check" REQURI_TABLE_TOPOLOGY = "/table/topology/missing" REQURI_TABLE_TOPOLOGY_CREATE = "/table/topology/create" REQURI_CLUSTER_TOPOLOGY_GETALL = "/cluster/topology/getall" )
View Source
const ( REQURI_USER_ADMIN = "/userInfo/admin" REQURI_USER_GETUSERLIST = "/userInfo/getUserList" REQURI_USER_GETPRIVILEGELIST = "/userInfo/getPrivilegeList" REQURI_USER_UPDATEPRIVILEG = "/userInfo/updatePrivilege" REQURI_USER_DELRIVILEGS = "/userInfo/delPrivileges" REQURI_USER_GETROLELIST = "/userInfo/getRoleList" REQURI_USER_ADDROLE = "/userInfo/addRole" REQURI_USER_DELROLE = "/userInfo/delRole" )
View Source
const (
REQURI_DB_CONSOLE_QUERY = "/db/console/query"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterCreateAction ¶
type ClusterCreateAction struct {
}
*
- 创建集群
func NewClusterCreateAction ¶
func NewClusterCreateAction() *ClusterCreateAction
type ClusterGetAllAction ¶
type ClusterGetAllAction struct {
}
*
- 查询集群列表
func NewClusterGetAllAction ¶
func NewClusterGetAllAction() *ClusterGetAllAction
type ClusterGetByIdAction ¶
type ClusterGetByIdAction struct {
}
*
- 查询集群详情
func NewClusterGetByIdAction ¶
func NewClusterGetByIdAction() *ClusterGetByIdAction
type ClusterInitAction ¶
type ClusterInitAction struct {
}
*
- 集群初始化
func NewClusterInitAction ¶
func NewClusterInitAction() *ClusterInitAction
type ClusterToggleAction ¶
type ClusterToggleAction struct {
}
*
- 集群开关
func NewClusterToggleAction ¶
func NewClusterToggleAction() *ClusterToggleAction
type CreateDbAction ¶
type CreateDbAction struct {
}
*
- 创建db
func NewCreateDbAction ¶
func NewCreateDbAction() *CreateDbAction
type CreateTableAction ¶
type CreateTableAction struct {
}
*
- 创建表
func NewCreateTableAction ¶
func NewCreateTableAction() *CreateTableAction
type DeleteTableAction ¶
type DeleteTableAction struct {
}
*
- 删除表
func NewDeleteTableAction ¶
func NewDeleteTableAction() *DeleteTableAction
type EditTableAction ¶
type EditTableAction struct {
}
*
- 修改表
func NewEditTableAction ¶
func NewEditTableAction() *EditTableAction
type GetAllDbAction ¶
type GetAllDbAction struct {
}
*
- 获取集群全部db
func NewGetAllDbAction ¶
func NewGetAllDbAction() *GetAllDbAction
type GetAllDbViewAction ¶
type GetAllDbViewAction struct {
}
*
- 获取集群全部db,View版本
func NewGetAllDbViewAction ¶
func NewGetAllDbViewAction() *GetAllDbViewAction
type GetAllTableAction ¶
type GetAllTableAction struct {
}
*
- 获取全部表
func NewGetAllTableAction ¶
func NewGetAllTableAction() *GetAllTableAction
type GetTableColumns ¶
type GetTableColumns struct {
}
*
- 获取某表详情
func NewGetTableColumns ¶
func NewGetTableColumns() *GetTableColumns
type GetUnhealthyRanges ¶
type GetUnhealthyRanges struct {
}
func NewGetUnhealthyRanges ¶
func NewGetUnhealthyRanges() *GetUnhealthyRanges
type GetUnstableRanges ¶
type GetUnstableRanges struct {
}
func NewGetUnstableRanges ¶
func NewGetUnstableRanges() *GetUnstableRanges
type LockClusterGetAction ¶
type LockClusterGetAction struct {
}
*
- lock cluster 刚上线的时候,锁集群是通过配置的,后期改成获取对应权限的集群列表
func NewLockClusterGetAction ¶
func NewLockClusterGetAction() *LockClusterGetAction
type LockGetAllNspAction ¶
type LockGetAllNspAction struct {
}
*
- 查询lock namespace 列表
func NewLockGetAllNspAction ¶
func NewLockGetAllNspAction() *LockGetAllNspAction
type LockNspApplyAction ¶
type LockNspApplyAction struct {
}
*
- 申请lock namespace
func NewLockNspApplyAction ¶
func NewLockNspApplyAction() *LockNspApplyAction
type LockNspUpdateAction ¶
type LockNspUpdateAction struct {
}
*
- lock namespace修改
func NewLockNspUpdateAction ¶
func NewLockNspUpdateAction() *LockNspUpdateAction
type MasterAllAction ¶
type MasterAllAction struct {
}
*
- 集群master all
func NewMasterAllAction ¶
func NewMasterAllAction() *MasterAllAction
type MasterLeaderAction ¶
type MasterLeaderAction struct {
}
*
- 集群master
func NewMasterLeaderAction ¶
func NewMasterLeaderAction() *MasterLeaderAction
type MasterLogLevelUpdate ¶
type MasterLogLevelUpdate struct {
}
func NewMasterLogLevelUpdate ¶
func NewMasterLogLevelUpdate() *MasterLogLevelUpdate
type NodeLogLevelUpdate ¶
type NodeLogLevelUpdate struct {
}
func NewNodeLogLevelUpdate ¶
func NewNodeLogLevelUpdate() *NodeLogLevelUpdate
type NodeRangeTopo ¶
type NodeRangeTopo struct {
}
func NewNodeRangeTopo ¶
func NewNodeRangeTopo() *NodeRangeTopo
type NodeStatusUpdate ¶
type NodeStatusUpdate struct {
}
func NewNodeStatusUpdate ¶
func NewNodeStatusUpdate() *NodeStatusUpdate
type NodeViewInfo ¶
type NodeViewInfo struct {
}
func NewNodeViewInfo ¶
func NewNodeViewInfo() *NodeViewInfo
type PeerInfoView ¶
type PeerInfoView struct {
}
func NewPeerInfoView ¶
func NewPeerInfoView() *PeerInfoView
type PrivilegeDelAction ¶
type PrivilegeDelAction struct {
}
func NewPrivilegeDelAction ¶
func NewPrivilegeDelAction() *PrivilegeDelAction
type PrivilegeInfoAction ¶
type PrivilegeInfoAction struct {
}
func NewPrivilegeInfoAction ¶
func NewPrivilegeInfoAction() *PrivilegeInfoAction
type PrivilegeUpdateAction ¶
type PrivilegeUpdateAction struct {
}
func NewPrivilegeUpdateAction ¶
func NewPrivilegeUpdateAction() *PrivilegeUpdateAction
type RangeBatchRecover ¶
type RangeBatchRecover struct {
}
func NewRangeBatchRecover ¶
func NewRangeBatchRecover() *RangeBatchRecover
type RangeDelete ¶
type RangeDelete struct {
}
func NewRangeDelete ¶
func NewRangeDelete() *RangeDelete
type RangeDuplicateAction ¶
type RangeDuplicateAction struct {
}
func NewRangeDuplicateAction ¶
func NewRangeDuplicateAction() *RangeDuplicateAction
type RangeInfoView ¶
type RangeInfoView struct {
}
func NewRangeInfoView ¶
func NewRangeInfoView() *RangeInfoView
type RangeLeaderChange ¶
type RangeLeaderChange struct {
}
切换主
func NewRangeLeaderChange ¶
func NewRangeLeaderChange() *RangeLeaderChange
type RangeOffline ¶
type RangeOffline struct {
}
func NewRangeOffline ¶
func NewRangeOffline() *RangeOffline
type RangeOpsTopN ¶
type RangeOpsTopN struct {
}
range opt topN
func NewRangeOpsTopN ¶
func NewRangeOpsTopN() *RangeOpsTopN
type RangeRebuild ¶
type RangeRebuild struct {
}
func NewRangeRebuild ¶
func NewRangeRebuild() *RangeRebuild
type RangeReplace ¶
type RangeReplace struct {
}
func NewRangeReplace ¶
func NewRangeReplace() *RangeReplace
type RangeTransfer ¶
type RangeTransfer struct {
}
func NewRangeTransfer ¶
func NewRangeTransfer() *RangeTransfer
type RangeUpdate ¶
type RangeUpdate struct {
}
func NewRangeUpdate ¶
func NewRangeUpdate() *RangeUpdate
type RangeViewInfo ¶
type RangeViewInfo struct {
}
func NewRangeViewInfo ¶
func NewRangeViewInfo() *RangeViewInfo
type RoleAddAction ¶
type RoleAddAction struct {
}
func NewRoleAddAction ¶
func NewRoleAddAction() *RoleAddAction
type RoleDelAction ¶
type RoleDelAction struct {
}
func NewRoleDelAction ¶
func NewRoleDelAction() *RoleDelAction
type RoleInfoAction ¶
type RoleInfoAction struct {
}
func NewRoleInfoAction ¶
func NewRoleInfoAction() *RoleInfoAction
type SchedulerAdjustAction ¶
type SchedulerAdjustAction struct {
}
*
- 集群scheduler调整
func NewSchedulerAdjustAction ¶
func NewSchedulerAdjustAction() *SchedulerAdjustAction
type SchedulerAllAction ¶
type SchedulerAllAction struct {
}
*
- 查询集群正在执行的调度任务列表
func NewSchedulerAllAction ¶
func NewSchedulerAllAction() *SchedulerAllAction
type SchedulerDetailAction ¶
type SchedulerDetailAction struct {
}
func NewSchedulerDetailAction ¶
func NewSchedulerDetailAction() *SchedulerDetailAction
type StoreDataQuery ¶
type StoreDataQuery struct {
}
func NewStoreDataQuery ¶
func NewStoreDataQuery() *StoreDataQuery
type TableTopologyAction ¶
type TableTopologyAction struct {
}
func NewTableTopologyAction ¶
func NewTableTopologyAction() *TableTopologyAction
type TaskOperation ¶
type TaskOperation struct {
}
func NewTaskOperation ¶
func NewTaskOperation() *TaskOperation
type TaskPresent ¶
type TaskPresent struct {
}
func NewTaskPresent ¶
func NewTaskPresent() *TaskPresent
type TaskTypeAllAction ¶
type TaskTypeAllAction struct {
}
func NewTaskTypeAllAction ¶
func NewTaskTypeAllAction() *TaskTypeAllAction
type TopologyAction ¶
type TopologyAction struct {
}
func NewTopologyAction ¶
func NewTopologyAction() *TopologyAction
type TopologyRangeCreateAction ¶
type TopologyRangeCreateAction struct {
}
func NewTopologyRangeCreateAction ¶
func NewTopologyRangeCreateAction() *TopologyRangeCreateAction
type TopologyViewAction ¶
type TopologyViewAction struct {
}
func NewTopologyViewAction ¶
func NewTopologyViewAction() *TopologyViewAction
type UserAdminAction ¶
type UserAdminAction struct {
}
func NewUserAdminAction ¶
func NewUserAdminAction() *UserAdminAction
Click to show internal directories.
Click to hide internal directories.