sandbox

package
v1.1.44-test Latest Latest
Warning

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

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

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 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"`
	Ttl              string            `json:"ttl,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