defaultevictor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginName = "DefaultEvictor"
)

Variables

This section is empty.

Functions

func New

func New(args runtime.Object, handle framework.Handle) (framework.Plugin, error)

Types

type DefaultEvictor

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

func (*DefaultEvictor) Evict

func (d *DefaultEvictor) Evict(ctx context.Context, pod *corev1.Pod, evictOptions framework.EvictOptions) bool

func (*DefaultEvictor) Filter

func (d *DefaultEvictor) Filter(pod *corev1.Pod) bool

func (*DefaultEvictor) Name

func (d *DefaultEvictor) Name() string

Jump to

Keyboard shortcuts

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