Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvictionController ¶
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.
Click to show internal directories.
Click to hide internal directories.