cluster

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerFactory

type HandlerFactory struct {
	// contains filtered or unexported fields
}

func NewHandlerFactory

func NewHandlerFactory(
	runtime *rsl.RuntimeResolver,
) (*HandlerFactory, error)

NewHandlerFactory validates dependencies and returns a HandlerFactory with all handlers initialized. All dependencies are required; any nil returns an error.

func (*HandlerFactory) ForAction

ForAction returns the appropriate IntentHandler for the given action, or an error if the action is unsupported.

type InstallHandler

type InstallHandler struct {
	// contains filtered or unexported fields
}

func (*InstallHandler) BuildWorkflow

func (h *InstallHandler) BuildWorkflow(
	currentState state.State,
	inputs models.UserInputs[models.ClusterInputs],
) (*automa.WorkflowBuilder, error)

func (*InstallHandler) HandleIntent

func (h *InstallHandler) HandleIntent(
	ctx context.Context,
	intent models.Intent,
	inputs models.UserInputs[models.ClusterInputs],
) (*automa.Report, error)

HandleIntent delegates to the shared BaseHandler which orchestrates all block-node intents.

func (*InstallHandler) PrepareEffectiveInputs

func (h *InstallHandler) PrepareEffectiveInputs(
	intent models.Intent,
	inputs models.UserInputs[models.ClusterInputs],
) (*models.UserInputs[models.ClusterInputs], error)

Jump to

Keyboard shortcuts

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