Documentation ¶ Index ¶ type Broker type Deps type Launcher type Namespace type SSH type Supervisor func New(deps Deps) *Supervisor func (s *Supervisor) Run(ctx context.Context, cmd []string) error type WorkspaceFS Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Broker ¶ type Broker interface { StartBroker(ctx context.Context) error } type Deps ¶ type Deps struct { SSH SSH NS Namespace FS WorkspaceFS Broker Broker Launcher Launcher Log *slog.Logger } type Launcher ¶ type Launcher interface { RunChild(ctx context.Context, cmd []string) error } type Namespace ¶ type Namespace interface { EnterNamespace(ctx context.Context) error } type SSH ¶ type SSH interface { StartSSH(ctx context.Context) error } type Supervisor ¶ type Supervisor struct { // contains filtered or unexported fields } func New ¶ func New(deps Deps) *Supervisor func (*Supervisor) Run ¶ func (s *Supervisor) Run(ctx context.Context, cmd []string) error type WorkspaceFS ¶ type WorkspaceFS interface { MountWorkspace(ctx context.Context) error } Source Files ¶ View all Source files supervisor.go Click to show internal directories. Click to hide internal directories.