package
1.12.0-alpha.0
Repository: https://github.com/karmada-io/karmada.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package testing is a generated GoMock package.

# Functions

AsResult wraps an error in a Result.
NewClusterInfo creates a ClusterInfo object.
NewResult makes a result out of the given arguments and returns its pointer.

# Constants

Error is used for internal plugin errors, unexpected input, etc.
MaxClusterScore is the maximum score a Score plugin is expected to return.
MinClusterScore is the minimum score a Score plugin is expected to return.
Success means that plugin ran correctly and found resource schedulable.
Unschedulable is used when a plugin finds the resource unschedulable.

# Structs

ClusterInfo is cluster level aggregated information.
ClusterScore represent the cluster score.
Diagnosis records the details to diagnose a scheduling failure.
FitError describes a fit error of a object.
Result indicates the result of running a plugin.
UnschedulableError describes a unschedulable error, for example due to insufficient resources.

# Interfaces

FilterPlugin is an interface for filter plugins.
Framework manages the set of plugins in use by the scheduling framework.
Plugin is the parent type for all the scheduling framework plugins.
ScoreExtensions is an interface for Score extended functionality.
ScorePlugin is an interface that must be implemented by "Score" plugins to rank clusters that passed the filtering phase.

# Type aliases

ClusterScoreList declares a list of clusters and their scores.
ClusterToResultMap declares map from cluster name to its Result.
Code is the Status code/type which is returned from plugins.
PluginToClusterScores declares a map from plugin name to its ClusterScoreList.
PluginToResult maps plugin name to Result.