orchestrator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package orchestrator provides the core orchestration engine

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Runtime      runtime.Runtime
	MessageQueue messagequeue.MessageQueue
	StateManager state.StateManager
}

Config holds orchestrator configuration

type Orchestrator

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

Orchestrator manages agent lifecycle and workflow execution

func New

func New(config Config) (*Orchestrator, error)

New creates a new orchestrator instance

func (*Orchestrator) CreateWorkflow

func (o *Orchestrator) CreateWorkflow(ctx context.Context, workflow *types.Workflow) error

CreateWorkflow creates a new workflow

func (*Orchestrator) GetWorkflow

func (o *Orchestrator) GetWorkflow(ctx context.Context, workflowID string) (*types.Workflow, error)

GetWorkflow returns workflow information

func (*Orchestrator) ListWorkflows

func (o *Orchestrator) ListWorkflows(ctx context.Context, filter map[string]string) ([]*types.Workflow, error)

ListWorkflows returns all workflows

func (*Orchestrator) Start

func (o *Orchestrator) Start() error

Start starts the orchestrator

func (*Orchestrator) StartWorkflow

func (o *Orchestrator) StartWorkflow(ctx context.Context, workflowID string) error

StartWorkflow starts executing a workflow

func (*Orchestrator) Stop

func (o *Orchestrator) Stop() error

Stop stops the orchestrator

func (*Orchestrator) StopWorkflow

func (o *Orchestrator) StopWorkflow(ctx context.Context, workflowID string) error

StopWorkflow stops a running workflow

Jump to

Keyboard shortcuts

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