pool

package
v0.0.0-...-fee78ac Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

type DropResourcePoolTask struct {
	task.Task
	// contains filtered or unexported fields
}

func NewDropResourcePoolTask

func NewDropResourcePoolTask() *DropResourcePoolTask

DropResourcePoolTask drop resource pools for `drop tenant`

func (*DropResourcePoolTask) Execute

func (t *DropResourcePoolTask) Execute() error

Jump to

Keyboard shortcuts

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