Versions in this module Expand all Collapse all v1 v1.22.0 Oct 6, 2026 Changes in this version + type CommandExitError struct + Code int32 + Signal string + func (e *CommandExitError) Error() string + func (e *CommandExitError) ExitCode() int + type Host struct + func New(ctx context.Context, workspace *provider.AgentWorkspaceInfo) (*Host, error) + func (h *Host) CommandContainerArgv(ctx context.Context, workspaceID string, argv []string, streams driver.Streams) error + func (h *Host) CommandDevContainer(ctx context.Context, params *driver.CommandParams) error + func (h *Host) DeleteDevContainer(ctx context.Context, workspaceID string) error + func (h *Host) FindDevContainer(ctx context.Context, workspaceID string) (*config.ContainerDetails, error) + func (h *Host) GetDevContainerLogs(ctx context.Context, workspaceID string, stdout, _ io.Writer) error + func (h *Host) Info() *runtimev1.InfoResponse + func (h *Host) Preflight(ctx context.Context, options driver.PreflightOptions) error + func (h *Host) ProvisioningPreflight(ctx context.Context) error + func (h *Host) RunImage(ctx context.Context, request *runtimev1.RunImageRequest) error + func (h *Host) StartDevContainer(ctx context.Context, workspaceID string) error + func (h *Host) StopDevContainer(ctx context.Context, workspaceID string) error + func (h *Host) TargetArchitecture(ctx context.Context, workspaceID string) (string, error) + type RuntimeError struct + Category runtimev1.RuntimeErrorCode + Code codes.Code + Message string + Operation string + Retryable bool + func (e *RuntimeError) Error() string + func (e *RuntimeError) GRPCStatus() *status.Status v1.21.0-beta.3 Oct 6, 2026