core

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	Controller  *controller.Controller
	Scheduler   *scheduler.Scheduler
	Runtime     *runtime.Runtime
	HooksAPI    *hooks.API
	WorkflowAPI *workflowapi.API
}

Stack represents the core services required by any interface.

func NewStack

func NewStack(rootCtx context.Context, opts StackOptions) (*Stack, error)

New builds the application stack (controller, scheduler, runtime, APIs).

func (*Stack) StartScheduler

func (s *Stack) StartScheduler(ctx context.Context)

StartScheduler blocks while the scheduler runs until the context is canceled.

type StackOptions added in v0.2.8

type StackOptions struct {
	ProjectDir string
	LogWriter  io.Writer
}

Directories

Path Synopsis
helpers
resources
filesystem
Package filesystem lets the UI browse the server's directories — the browser sandbox cannot reveal absolute paths, but this process runs on the same machine the workflows do.
Package filesystem lets the UI browse the server's directories — the browser sandbox cannot reveal absolute paths, but this process runs on the same machine the workflows do.
harnessinfo
Package harnessinfo reports which harnesses are installed on this machine and which models each can run.
Package harnessinfo reports which harnesses are installed on this machine and which models each can run.

Jump to

Keyboard shortcuts

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