MCPcopy Create free account
hub / github.com/coder/envbuilder / Spec

Struct Spec

devcontainer/devcontainer.go:34–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34type Spec struct {
35 Image string `json:"image"`
36 Build BuildSpec `json:"build"`
37 RemoteUser string `json:"remoteUser"`
38 ContainerUser string `json:"containerUser"`
39 ContainerEnv map[string]string `json:"containerEnv"`
40 RemoteEnv map[string]string `json:"remoteEnv"`
41 // Features is a map of feature names to feature configurations.
42 Features map[string]any `json:"features"`
43 LifecycleScripts
44
45 // Deprecated but still frequently used...
46 Dockerfile string `json:"dockerFile"`
47 Context string `json:"context"`
48}
49
50type LifecycleScripts struct {
51 OnCreateCommand LifecycleScript `json:"onCreateCommand"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected