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
AgentsAPI *agents.API
HooksAPI *hooks.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 ¶
StartScheduler blocks while the scheduler runs until the context is canceled.
type StackOptions ¶ added in v0.2.8
type StackOptions struct {
ShellRoot string
}
Click to show internal directories.
Click to hide internal directories.