multicluster-scheduler: admiralty.io/multicluster-scheduler/pkg/scheduler_plugins/proxy Index | Files

package proxy

import "admiralty.io/multicluster-scheduler/pkg/scheduler_plugins/proxy"

Index

Package Files

plugin.go

Constants

const Name = "proxy"

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

func New Uses

func New(args *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) Filter Uses

func (pl *Plugin) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status

func (*Plugin) Name Uses

func (pl *Plugin) Name() string

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

func (*Plugin) PostBind Uses

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

func (*Plugin) PreBind Uses

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

func (*Plugin) Reserve Uses

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

func (*Plugin) Unreserve Uses

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

Package proxy imports 18 packages (graph) and is imported by 1 packages. Updated 2020-12-31. Refresh now. Tools for package owners.