kubernetes: k8s.io/kubernetes/pkg/scheduler/framework/plugins/defaultbinder Index | Files

package defaultbinder

import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/defaultbinder"


Package Files



const Name = "DefaultBinder"

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

func New Uses

func New(_ runtime.Object, handle framework.FrameworkHandle) (framework.Plugin, error)

New creates a DefaultBinder.

type DefaultBinder Uses

type DefaultBinder struct {
    // contains filtered or unexported fields

DefaultBinder binds pods to nodes using a k8s client.

func (DefaultBinder) Bind Uses

func (b DefaultBinder) Bind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status

Bind binds pods to nodes using the k8s client.

func (DefaultBinder) Name Uses

func (b DefaultBinder) Name() string

Name returns the name of the plugin.

Package defaultbinder imports 6 packages (graph) and is imported by 43 packages. Updated 2020-09-25. Refresh now. Tools for package owners.