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

package defaultbinder

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

Index

Constants

const Name = names.DefaultBinder

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

Functions

func New

New creates a DefaultBinder.

Types

type DefaultBinder

type DefaultBinder struct {
	// contains filtered or unexported fields
}

DefaultBinder binds pods to nodes using a k8s client.

func (DefaultBinder) Bind

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

Bind binds pods to nodes using the k8s client.

func (DefaultBinder) Name

func (b DefaultBinder) Name() string

Name returns the name of the plugin.

Source Files

default_binder.go

Version
v1.34.0-beta.0
Published
Jul 16, 2025
Platform
darwin/amd64
Imports
8 packages
Last checked
3 minutes ago

Tools for package owners.