Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CellID string
AppName string
SessionName string
CellHome string
ConfigDir string
ImageTag string
Image string
ContainerName string
Hostname string
PortPrefix string
VNCPort string
RDPPort string
BaseDir string
HostUser string
HostHome string
LocalMode bool // DEVCELL_LOCAL_MODE=true — always rebuild image on run
}
Config holds all runtime variables resolved from environment and cwd.
func Load ¶
Load resolves all config fields from cwd and an environment lookup function. Pure — no os.* calls inside.
func LoadFromOS ¶
LoadFromOS resolves config using the real OS environment and working directory.
Click to show internal directories.
Click to hide internal directories.