eviction

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeEviction

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

func New

func New(nodeName string, client ctrlruntimeclient.Client, kubeClient kubernetes.Interface) *NodeEviction

New returns a new NodeEviction.

func (*NodeEviction) Run

func (ne *NodeEviction) Run(ctx context.Context, log *zap.SugaredLogger) (bool, error)

Run executes the eviction.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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