package
0.3.0
Repository: https://github.com/matrixorigin/matrixcube.git
Documentation: pkg.go.dev

# Functions

AllowBalanceEmptyResource returns a function that checks if a resource is an empty resource and can be balanced.
HealthAllowPending returns a function that checks if a resource is healthy for scheduling.
HealthResource returns a function that checks if a resource is healthy for scheduling.
IsEmptyResourceAllowBalance checks if a region is an empty region and can be balanced.
IsHealthyAllowPending checks if a resource is healthy for scheduling.
IsResourceHealthy checks if a resource is healthy for scheduling.
IsResourceReplicated checks if a resource is fully replicated.
ReplicatedResource returns a function that checks if a resource is fully replicated.

# Constants

RejectLeader is the label property type that suggests a container should not have any resource leaders.

# Interfaces

Cluster provides an overview of a cluster's resources distribution.
HeartbeatStream is an interface.