daytona

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathPrefix    = "/daytona"
	ToolboxPrefix = PathPrefix + "/toolbox"
)

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(mux *http.ServeMux, d Deps)

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.

Jump to

Keyboard shortcuts

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