Documentation
¶
Overview ¶
Package config loads Fuse configuration from fuse.yaml + env overrides.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocateConfig ¶
LocateConfig returns the first existing fuse.yaml walking up from cwd. Returns "" if nothing found.
Types ¶
type Config ¶
type Config struct {
Version int `yaml:"version"`
GroveURL string `yaml:"grove_url"`
GroveBinary string `yaml:"grove_binary"`
Merge MergeConfig `yaml:"merge"`
Git GitConfig `yaml:"git"`
Server ServerConfig `yaml:"server"`
}
type MergeConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Port int `yaml:"port"`
}
Click to show internal directories.
Click to hide internal directories.