defaultbinder

package
v0.0.0-...-6111fc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "DefaultBinder"

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

Variables

This section is empty.

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 *framework.CycleState, p *v1.Pod, nodeName string) *framework.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL