Help us shape the future of Go! Take the 2026 Go Developer Survey

envspec

package
v0.7.123 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 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 Environment

type Environment struct {
	Stack        string `json:"stack"`
	Setup        []Step `json:"setup"`
	Image        string `json:"image"`
	ImageVersion string `json:"image_version"`
}

Environment describes the detected tech stack and build configuration for a repository.

func (*Environment) BinaryPaths

func (e *Environment) BinaryPaths() string

BinaryPaths returns colon-separated PATH prefixes needed for the detected stack. cimg images set these via Docker ENV which e2b does not propagate to SSH sessions.

func (*Environment) SetupStep

func (e *Environment) SetupStep(name string) string

SetupStep returns the command for the named setup step, or "" if absent.

type Step

type Step struct {
	Name    string `json:"name"`
	Command string `json:"command"`
}

Step is a single named provisioning command in the sidecar setup sequence.

Jump to

Keyboard shortcuts

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