controller

package
v0.6.74 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Start(ctx context.Context) error
}

func NewAgentRunController

func NewAgentRunController(opts ...Option) (Controller, error)

NewAgentRunController creates a new agent run controller

type Option

type Option func(*agentRunController)

func WithAgentRun

func WithAgentRun(id string) Option

func WithConsoleClient

func WithConsoleClient(client console.Client) Option

func WithStatus added in v0.6.74

func WithStatus(status *events.Status) Option

WithStatus has the approval and babysit loops read the run's status from Console's pushes and wake on each one.

func WithWorkingDir

func WithWorkingDir(dir string) Option

Jump to

Keyboard shortcuts

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