defaultevictor

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginName = defaultevictor.PluginName
)

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

func (*DefaultEvictor) PreEvictionFilter

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

type DefaultEvictorArgs

type DefaultEvictorArgs = defaultevictor.DefaultEvictorArgs

Jump to

Keyboard shortcuts

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