Documentation ¶
Index ¶
- Constants
- func CreatePools(t task.Task, poolParam []param.CreateResourcePoolTaskParam) error
- func DropFreeResourcePools(t task.Task, param []param.CreateResourcePoolTaskParam) error
- func DropResourcePool(poolName string) *errors.OcsAgentError
- func GetAllResourcePools() ([]oceanbase.DbaObResourcePool, *errors.OcsAgentError)
- func RegisterPoolTask()
- type DropResourcePoolTask
Constants ¶
View Source
const ( TASK_NAME_DROP_RESOURCE_POOL = "Drop resource pools" PARAM_DROP_RESOURCE_POOL_LIST = "dropResourcePoolList" )
Variables ¶
This section is empty.
Functions ¶
func CreatePools ¶
func CreatePools(t task.Task, poolParam []param.CreateResourcePoolTaskParam) error
func DropFreeResourcePools ¶
func DropFreeResourcePools(t task.Task, param []param.CreateResourcePoolTaskParam) error
func DropResourcePool ¶
func DropResourcePool(poolName string) *errors.OcsAgentError
func GetAllResourcePools ¶
func GetAllResourcePools() ([]oceanbase.DbaObResourcePool, *errors.OcsAgentError)
func RegisterPoolTask ¶
func RegisterPoolTask()
Types ¶
type DropResourcePoolTask ¶
func NewDropResourcePoolTask ¶
func NewDropResourcePoolTask() *DropResourcePoolTask
DropResourcePoolTask drop resource pools for `drop tenant`
func (*DropResourcePoolTask) Execute ¶
func (t *DropResourcePoolTask) Execute() error
Click to show internal directories.
Click to hide internal directories.