nodestate

package
v1.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeStateInterface

type NodeStateInterface interface {
	NotReadyPods(nodeName string) int
	AddSchedulingPod(pod *v1.Pod, nodeName string)
}

func NewNodeStateV2

func NewNodeStateV2(client kubernetes.Interface) NodeStateInterface

type NodeStateV2

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

func (*NodeStateV2) AddSchedulingPod

func (n *NodeStateV2) AddSchedulingPod(pod *v1.Pod, nodeName string)

func (*NodeStateV2) NotReadyPods

func (n *NodeStateV2) NotReadyPods(nodeName string) int

Jump to

Keyboard shortcuts

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