controllers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutorController

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

ExecutorController handles API-initiated requests to executor services This controller is used when the API needs to send commands to executors

func (*ExecutorController) HandlePollingEvent

func (c *ExecutorController) HandlePollingEvent(ctx fiber.Ctx) error

HandlePollingEvent handles a polling event request from the API

func (*ExecutorController) PeekData

func (c *ExecutorController) PeekData(ctx fiber.Ctx) error

func (*ExecutorController) RegisterWorkspace added in v0.0.3

func (c *ExecutorController) RegisterWorkspace(ctx fiber.Ctx) error

func (*ExecutorController) StartExecution

func (c *ExecutorController) StartExecution(ctx fiber.Ctx) error

StartExecution handles the start of a workflow execution

func (*ExecutorController) TestConnection

func (c *ExecutorController) TestConnection(ctx fiber.Ctx) error

TestConnection handles connection testing requests from the API

type ExecutorControllerDependencies

type ExecutorControllerDependencies struct {
	WorkflowExecutorService      executor.WorkflowExecutorService
	WorkspaceRegistrationManager domain.WorkspaceRegistrationManager
}

Jump to

Keyboard shortcuts

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