Documentation
¶
Overview ¶
Package orchestrator provides the core orchestration engine
Index ¶
- type Config
- type Orchestrator
- func (o *Orchestrator) CreateWorkflow(ctx context.Context, workflow *types.Workflow) error
- func (o *Orchestrator) GetWorkflow(ctx context.Context, workflowID string) (*types.Workflow, error)
- func (o *Orchestrator) ListWorkflows(ctx context.Context, filter map[string]string) ([]*types.Workflow, error)
- func (o *Orchestrator) Start() error
- func (o *Orchestrator) StartWorkflow(ctx context.Context, workflowID string) error
- func (o *Orchestrator) Stop() error
- func (o *Orchestrator) StopWorkflow(ctx context.Context, workflowID string) error
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 (*Orchestrator) CreateWorkflow ¶
CreateWorkflow creates a new workflow
func (*Orchestrator) GetWorkflow ¶
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) StartWorkflow ¶
func (o *Orchestrator) StartWorkflow(ctx context.Context, workflowID string) error
StartWorkflow starts executing a workflow
func (*Orchestrator) StopWorkflow ¶
func (o *Orchestrator) StopWorkflow(ctx context.Context, workflowID string) error
StopWorkflow stops a running workflow
Click to show internal directories.
Click to hide internal directories.