Documentation
¶
Index ¶
- func InstancePlacementPendingClear(projectName string, instName string)
- func InstancePlacementPendingSet(projectName string, instName string, source string, target string)
- func InstancePlacementRun(ctx context.Context, l logger.Logger, s *state.State, ...) (*db.NodeInfo, error)
- func QEMURun(l logger.Logger, instance *api.Instance, cmdArgs *[]string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstancePlacementPendingClear ¶ added in v7.5.0
InstancePlacementPendingClear forgets a pending instance move.
func InstancePlacementPendingSet ¶ added in v7.5.0
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.