Documentation
¶
Index ¶
- Constants
- func BringUp(ctx workflow.Context, reqInfo task.ExecutionInfo, ...) error
- func FirmwareControl(ctx workflow.Context, reqInfo task.ExecutionInfo, ...) error
- func GenericComponentStepWorkflow(ctx workflow.Context, step operationrules.SequenceStep, target common.Target, ...) error
- func GetAllWorkflows() []any
- func InjectExpectation(ctx workflow.Context, reqInfo task.ExecutionInfo, ...) error
- func PowerControl(ctx workflow.Context, reqInfo task.ExecutionInfo, ...) (err error)
Constants ¶
const ( PowerControlWorkflowName = "PowerControl" FirmwareControlWorkflowName = "FirmwareControl" InjectExpectationWorkflowName = "InjectExpectation" BringUpWorkflowName = "BringUp" )
Variables ¶
This section is empty.
Functions ¶
func BringUp ¶
func BringUp( ctx workflow.Context, reqInfo task.ExecutionInfo, info *operations.BringUpTaskInfo, ) error
BringUp orchestrates the rack bring-up sequence using operation rules. The execution sequence is driven by the RuleDefinition attached to the task, falling back to a hardcoded default when no custom rule exists.
func FirmwareControl ¶
func FirmwareControl( ctx workflow.Context, reqInfo task.ExecutionInfo, info *operations.FirmwareControlTaskInfo, ) error
FirmwareControl orchestrates firmware updates using operation rules. The execution sequence is driven by the RuleDefinition attached to the task, falling back to a hardcoded default when no custom rule exists.
func GenericComponentStepWorkflow ¶
func GenericComponentStepWorkflow( ctx workflow.Context, step operationrules.SequenceStep, target common.Target, activityName string, activityInfo any, allTargets map[devicetypes.ComponentType]common.Target, ) error
GenericComponentStepWorkflow is a generic child workflow that handles any operation for a single component type. It processes components in batches according to the step's max_parallel setting. This provides better isolation, visibility, and independent lifecycle per component type.
func GetAllWorkflows ¶
func GetAllWorkflows() []any
func InjectExpectation ¶
func InjectExpectation( ctx workflow.Context, reqInfo task.ExecutionInfo, info *operations.InjectExpectationTaskInfo, ) error
InjectExpectation orchestrates injecting expected component configurations to their respective component manager services. Each component is processed via the InjectExpectation activity which delegates to the appropriate component manager.
func PowerControl ¶
func PowerControl( ctx workflow.Context, reqInfo task.ExecutionInfo, info operations.PowerControlTaskInfo, ) (err error)
Types ¶
This section is empty.