import "admiralty.io/multicluster-scheduler/pkg/scheduler_plugins/candidate"
const Name = "candidate"
Name is the name of the plugin used in the plugin registry and configurations.
New initializes a new plugin and returns it.
type Plugin struct {
// contains filtered or unexported fields
}
Name returns name of the plugin. It is used in logs, etc.
func (pl *Plugin) PreBind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status
func (pl *Plugin) PreFilter(ctx context.Context, state *framework.CycleState, p *v1.Pod) *framework.Status
func (pl *Plugin) PreFilterExtensions() framework.PreFilterExtensions
func (pl *Plugin) Reserve(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status
Package candidate imports 13 packages (graph) and is imported by 1 packages. Updated 2021-01-02. Refresh now. Tools for package owners.