Documentation
¶
Index ¶
- func InstancePlacementRun(ctx context.Context, l logger.Logger, s *state.State, ...) (*db.NodeInfo, error)
- func QEMURun(l logger.Logger, m *qmp.Monitor, instance string, stage string) error
- func StarlarkMarshal(input any) (starlark.Value, error)
- func StarlarkUnmarshal(input starlark.Value) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 StarlarkMarshal ¶
StarlarkMarshal converts input to a starlark Value. It only includes exported struct fields, and uses the "json" tag for field names.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.