strategies

package
v0.0.0-...-3dc4fa0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemovePodsViolatingTopologySchedulingPolicy

func RemovePodsViolatingTopologySchedulingPolicy(
	ctx context.Context,
	client clientset.Interface,
	strategy api.DeschedulerStrategy,
	nodes []*v1.Node,
	podEvictor *evictions.PodEvictor,
	tspLister v1alpha1.TopologySchedulingPolicyLister,
)

Types

type ByCostom

type ByCostom []*v1.Pod

func (ByCostom) Len

func (p ByCostom) Len() int

func (ByCostom) Less

func (p ByCostom) Less(i, j int) bool

func (ByCostom) Swap

func (p ByCostom) Swap(i, j int)

type TopoPairCount

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

Jump to

Keyboard shortcuts

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