multicluster-scheduler: Index | Files

package candidate

import ""


Package Files



const Name = "candidate"

Name is the name of the plugin used in the plugin registry and configurations.

func New Uses

func New(_ *runtime.Unknown, h framework.FrameworkHandle) (framework.Plugin, error)

New initializes a new plugin and returns it.

type Plugin Uses

type Plugin struct {
    // contains filtered or unexported fields

func (*Plugin) Name Uses

func (pl *Plugin) Name() string

Name returns name of the plugin. It is used in logs, etc.

func (*Plugin) PreBind Uses

func (pl *Plugin) PreBind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status

func (*Plugin) PreFilter Uses

func (pl *Plugin) PreFilter(ctx context.Context, state *framework.CycleState, p *v1.Pod) *framework.Status

func (*Plugin) PreFilterExtensions Uses

func (pl *Plugin) PreFilterExtensions() framework.PreFilterExtensions

func (*Plugin) Reserve Uses

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.