nodeovercommitment

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Name is the name of the plugin used in the plugin registry and configurations.
	Name = "NodeOvercommitment"
)

Variables

This section is empty.

Functions

func New

Types

type NodeOvercommitment

type NodeOvercommitment struct{}

func (*NodeOvercommitment) Filter

func (n *NodeOvercommitment) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status

func (*NodeOvercommitment) Name

func (n *NodeOvercommitment) Name() string

func (*NodeOvercommitment) PreFilter

func (*NodeOvercommitment) PreFilterExtensions

func (n *NodeOvercommitment) PreFilterExtensions() framework.PreFilterExtensions

func (*NodeOvercommitment) Reserve

func (n *NodeOvercommitment) Reserve(ctx context.Context, state *framework.CycleState, pod *corev1.Pod, nodeName string) *framework.Status

func (*NodeOvercommitment) Unreserve

func (n *NodeOvercommitment) Unreserve(ctx context.Context, state *framework.CycleState, pod *corev1.Pod, nodeName string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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