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.
Click to show internal directories.
Click to hide internal directories.