evacuation

package
v0.0.0-...-71ecf12 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvictionController

type EvictionController struct {
	client.Client
}

func (*EvictionController) EvictCurrentHost

func (e *EvictionController) EvictCurrentHost(ctx context.Context) error

EvictCurrentHost callback is allowed to block. It is called when the hypervisor is about to be rebooted. It should migrate all VMs away from the current host. It is able to block up to InhibitDelayMaxSec seconds to evict virtual machines. see `systemd-analyze cat-config systemd/logind.conf` for the current setting.

Jump to

Keyboard shortcuts

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