Versions in this module Expand all Collapse all v0 v0.1.6 Nov 13, 2026 Changes in this version + func DotenvProblems(path string) []string + func FileProblems(target string, named bool) []string + func FileValue(path, key string) (string, bool) + func Problems(envFile, settingsFile string) []string + func Set(path, key, value string) error + func Unset(path, key string) error type Devbox + func (d Devbox) Planned() bool type VMConfig + func (c VMConfig) PlannedKeys() map[string]manifest.ReservedKey v0.1.3 Nov 2, 2026retracted Changes in this version + const SectionDevboxes + const SectionHypervisors + func ValidUser(u string) bool + type Devbox struct + Description string + DockerContext *bool + Hypervisor string + Key string + Profile string + User string + VM string + func (d Devbox) WantsDockerContext() bool type File + VM VMConfig + type VMConfig struct + Devboxes map[string]Devbox + Hypervisors map[string]hypervisor.CommandSpec + func LoadVMConfig(path string) (VMConfig, error) + func (c VMConfig) DevboxAliases() []string v0.1.2 Nov 2, 2026retracted v0.1.1 Nov 2, 2026retracted Changes in this version + const SchemaURL + const Version + var Specs = []Spec + func Schema() ([]byte, error) + func Starter() []byte + func Truthy(v string) bool + type ApplyResult struct + Kept []string + Set []string + type DotenvResult struct + Kept []string + Path string + Present bool + Refused string + Set []string + Warnings []string + func LoadDotenv(path string, env Env) DotenvResult + type Env struct + Lookup func(string) (string, bool) + Setenv func(string, string) error + type File struct + Path string + Values map[string]string + func LoadFile(path string) (*File, error) + func Parse(path string, b []byte) (*File, error) + func (f *File) Apply(env Env) ApplyResult + type Kind string + const KindBool + const KindEnum + const KindInt + const KindPath + const KindString + type Pair struct + Key string + Line int + Value string + func ParseDotenv(r io.Reader) ([]Pair, []string) + type Spec struct + Default string + Doc string + Enum []string + Env string + Kind Kind + Min int + Name string + Section string + func Find(key string) (Spec, bool) + func (s Spec) Key() string + type ValidationError struct + Path string + Problems []string + func (e *ValidationError) Error() string