sandbox

package
v1.1.63-test Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SandboxIde

type SandboxIde string
const (
	SandboxIdeVscode  SandboxIde = "vscode"
	SandboxIdeCursor  SandboxIde = "cursor"
	SandboxIdeSsh     SandboxIde = "ssh"
	SandboxIdeBrowser SandboxIde = "browser"
)

type SandboxScaling

type SandboxScaling struct {
	MaxSessions     *float32 `json:"maxSessions,omitempty"`
	MinWorkers      *float32 `json:"minWorkers,omitempty"`
	MaxWorkers      *float32 `json:"maxWorkers,omitempty"`
	IdleDeleteDelay *float32 `json:"idleDeleteDelay,omitempty"`
}

type SandboxSpec

type SandboxSpec struct {
	Ide              SandboxIde          `json:"ide,omitempty"`
	Type             SandboxType         `json:"type,omitempty"`
	Password         string              `json:"password,omitempty"`
	Token            string              `json:"token,omitempty"`
	Volume           *SandboxSpecVolume  `json:"volume,omitempty"`
	AppPort          *float32            `json:"appPort,omitempty"`
	ScaleToZeroDelay *float32            `json:"scaleToZeroDelay,omitempty"`
	Scaling          *SandboxSpecScaling `json:"scaling,omitempty"`
	Ttl              string              `json:"ttl,omitempty"`
}

type SandboxSpecScaling

type SandboxSpecScaling struct {
	MaxSessions     *float32 `json:"maxSessions,omitempty"`
	MinWorkers      *float32 `json:"minWorkers,omitempty"`
	MaxWorkers      *float32 `json:"maxWorkers,omitempty"`
	IdleDeleteDelay *float32 `json:"idleDeleteDelay,omitempty"`
}

type SandboxSpecVolume

type SandboxSpecVolume struct {
	InitialCapacity *float32 `json:"initialCapacity,omitempty"`
}

type SandboxType

type SandboxType string
const (
	SandboxTypeDev    SandboxType = "dev"
	SandboxTypeWorker SandboxType = "worker"
)

Jump to

Keyboard shortcuts

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