core

package
v1.1.0-beta.0...-604b0d6 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicCluster

BasicCluster is an aggregate interface that wraps multiple interfaces

type CheckerCluster

type CheckerCluster interface {
	SharedCluster

	GetCheckerConfig() sc.CheckerConfigProvider
	GetStoreConfig() sc.StoreConfigProvider
	UpdateRegionsLabelLevelStats(regions []*core.RegionInfo)
}

CheckerCluster is an aggregate interface that wraps multiple interfaces

type ClusterInformer

type ClusterInformer interface {
	SchedulerCluster
	CheckerCluster

	GetStorage() storage.Storage
}

ClusterInformer provides the necessary information of a cluster.

type SchedulerCluster

type SchedulerCluster interface {
	SharedCluster

	statistics.StoreStatInformer
	buckets.BucketStatInformer

	GetSchedulerConfig() sc.SchedulerConfigProvider
	GetRegionLabeler() *labeler.RegionLabeler
	GetStoreConfig() sc.StoreConfigProvider
}

SchedulerCluster is an aggregate interface that wraps multiple interfaces

type SharedCluster

type SharedCluster interface {
	BasicCluster
	statistics.RegionStatInformer

	GetBasicCluster() *core.BasicCluster
	GetSharedConfig() sc.SharedConfigProvider
	GetRuleManager() *placement.RuleManager
	AllocID() (uint64, error)
	IsSchedulingHalted() bool
}

SharedCluster is an aggregate interface that wraps multiple interfaces

Jump to

Keyboard shortcuts

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