scriptlet

package
v7.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstancePlacementPendingClear added in v7.5.0

func InstancePlacementPendingClear(projectName string, instName string)

InstancePlacementPendingClear forgets a pending instance move.

func InstancePlacementPendingSet added in v7.5.0

func InstancePlacementPendingSet(projectName string, instName string, source string, target string)

InstancePlacementPendingSet records that an instance is being moved to target. Until cleared, the placement scriptlet sees the instance as located on the target.

func InstancePlacementRun

func InstancePlacementRun(ctx context.Context, l logger.Logger, s *state.State, req *apiScriptlet.InstancePlacement, candidateMembers []db.NodeInfo, leaderAddress string) (*db.NodeInfo, error)

InstancePlacementRun runs the instance placement scriptlet and returns the chosen cluster member target.

func QEMURun

func QEMURun(l logger.Logger, instance *api.Instance, cmdArgs *[]string, conf *[]cfg.Section, m *qmp.Monitor, nvram *uefi.Store, stage string) error

QEMURun runs the QEMU scriptlet.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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