Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigLoader ¶
type ConfigLoader struct {
// contains filtered or unexported fields
}
func (ConfigLoader) GlobConfigs ¶
func (l ConfigLoader) GlobConfigs(pattern string, wd string) ([]LoadedConfig, error)
func (ConfigLoader) LoadConfig ¶
func (l ConfigLoader) LoadConfig(path string) (LoadedConfig, error)
func (ConfigLoader) LoadConfigs ¶
func (l ConfigLoader) LoadConfigs(paths []string) ([]LoadedConfig, error)
type LoadedConfig ¶
type LoadedConfigData ¶
type LoadedConfigData struct {
// contains filtered or unexported fields
}
func (LoadedConfigData) Data ¶
func (d LoadedConfigData) Data() map[string]interface{}
func (LoadedConfigData) Path ¶
func (d LoadedConfigData) Path() string
type Loader ¶
type Loader interface { LoadConfig(path string) (LoadedConfig, error) LoadConfigs(paths []string) ([]LoadedConfig, error) GlobConfigs(pattern string, cwd string) ([]LoadedConfig, error) }
func CreateLoader ¶
func CreateLoader(fnd app.Foundation) Loader
Click to show internal directories.
Click to hide internal directories.