Documentation ¶
Overview ¶
Package clustereligibility features a scheduler plugin that filters out clusters that are not eligible for resource placement.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is the scheduler plugin that performs the cluster eligibility check.
func (*Plugin) Filter ¶
func (p *Plugin) Filter( _ context.Context, _ framework.CycleStatePluginReadWriter, _ *placementv1beta1.ClusterSchedulingPolicySnapshot, cluster *clusterv1beta1.MemberCluster, ) (status *framework.Status)
Filter allows the plugin to connect to the Filter extension point in the scheduling framework.
func (*Plugin) SetUpWithFramework ¶
SetUpWithFramework sets up this plugin with a scheduler framework.
Click to show internal directories.
Click to hide internal directories.