clustereviction

package
v1.10.0-preview2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func New

func New() (framework.Plugin, error)

New instantiates the ClusterEviction plugin.

Types

type ClusterEviction

type ClusterEviction struct{}

ClusterEviction is a plugin that checks if the target cluster is in the GracefulEvictionTasks which means it is in the process of eviction.

func (*ClusterEviction) Filter

Filter checks if the target cluster is in the GracefulEvictionTasks which means it is in the process of eviction.

func (*ClusterEviction) Name

func (p *ClusterEviction) Name() string

Name returns the plugin name.

Jump to

Keyboard shortcuts

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