Documentation
¶
Index ¶
Constants ¶
View Source
const ( PathPrefix = "/daytona" ToolboxPrefix = PathPrefix + "/toolbox" )
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes mounts the supported Daytona compatibility surface.
Types ¶
type Deps ¶
type Deps struct {
Service *service.Service
Logger *slog.Logger
Auth func(http.Handler) http.Handler
// ContainerEngine selects BuildKit-absent clear errors on containerd hosts.
ContainerEngine string
// DefaultImage is the image a create falls back to when the request names
// neither a snapshot nor a build (SB_DAYTONA_DEFAULT_IMAGE, read once in
// config). Empty falls back to the built-in default.
DefaultImage string
}
Deps are the shared dependencies the Daytona facade needs from the top-level API package.
Click to show internal directories.
Click to hide internal directories.