MCPcopy Index your code
hub / github.com/hashicorp/vault / LoadConfigDir

Function LoadConfigDir

command/server/config.go:948–951  ·  view source on GitHub ↗

LoadConfigDir loads all the configurations in the given directory in alphabetical order.

(dir string)

Source from the content-addressed store, hash-verified

946// LoadConfigDir loads all the configurations in the given directory
947// in alphabetical order.
948func LoadConfigDir(dir string) (*Config, error) {
949 cfg, _, err := LoadConfigDirCheckDuplicate(dir)
950 return cfg, err
951}
952
953// LoadConfigDirCheckDuplicate is the same as the above but checks for duplciate HCL attributes
954// TODO (HCL_DUP_KEYS_DEPRECATION): keep only LoadConfigDir once deprecation is complete

Callers 1

testLoadConfigDirFunction · 0.70

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…