Documentation
¶
Overview ¶
Package docker hosts the Docker runtime backend.
Index ¶
- Constants
- Variables
- func CompanionContainerLabels(sandboxID string, name string, userLabels map[string]string) map[string]string
- func PrepareExecOutputPath(root string, template string, fields map[string]string) (string, error)
- func ResolveLinkTarget(path string) (string, error)
- func SandboxLabels(sandboxID string, profile string, userLabels map[string]string) map[string]string
- func ValidateWorkspaceTree(projectRoot string) error
Constants ¶
View Source
const ( LabelSandboxID = LabelNamespace + ".sandbox-id" LabelComponent = LabelNamespace + ".component" LabelCompanionContainerName = LabelNamespace + ".companion-container-name" LabelProfile = LabelNamespace + ".profile" LabelUserPrefix = LabelNamespace + ".user." )
View Source
const LabelNamespace = "io.github.1996fanrui.agents-sandbox"
Variables ¶
View Source
var ( ErrArtifactPathEscapesRoot = errors.New("artifact path escapes configured root") ErrArtifactPathUsesSymlink = errors.New("artifact path uses symlink boundary") ErrArtifactPathUsesHardlink = errors.New("artifact path uses hardlink boundary") ErrArtifactTemplateFieldEmpty = errors.New("artifact template field is empty") )
View Source
var ErrProjectionTargetUnreadable = errors.New("projection target is unreadable")
Functions ¶
func CompanionContainerLabels ¶ added in v0.3.0
func PrepareExecOutputPath ¶
func ResolveLinkTarget ¶
func SandboxLabels ¶
func ValidateWorkspaceTree ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.