clustercapacitybinder

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "ClusterCapacityBinder"

Variables

This section is empty.

Functions

func New

func New(client kubernetes.Interface, _ runtime.Object, _ framework.Handle, postBindHook func(*v1.Pod) error) (framework.Plugin, error)

Types

type ClusterCapacityBinder

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

func (*ClusterCapacityBinder) Bind

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

TODO(jchaloup): Needs to be locked since the scheduler runs the binding phase in a go routine

func (*ClusterCapacityBinder) Name

func (b *ClusterCapacityBinder) Name() string

Jump to

Keyboard shortcuts

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