Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuiltinListeners = map[string]ListenerFactory{
"tcp": tcpListenerFactory,
}
BuiltinListeners is the list of built-in listener types.
Functions ¶
Types ¶
type Config ¶
type Config struct { Listeners []*Listener `hcl:"-"` Backend *Backend `hcl:"-"` HABackend *Backend `hcl:"-"` DisableCache bool `hcl:"disable_cache"` DisableMlock bool `hcl:"disable_mlock"` Telemetry *Telemetry `hcl:"telemetry"` MaxLeaseTTL time.Duration `hcl:"-"` MaxLeaseTTLRaw string `hcl:"max_lease_ttl"` DefaultLeaseTTL time.Duration `hcl:"-"` DefaultLeaseTTLRaw string `hcl:"default_lease_ttl"` }
Config is the configuration for the vault server.
func LoadConfig ¶
LoadConfig loads the configuration at the given path, regardless if its a file or directory.
func LoadConfigDir ¶
LoadConfigDir loads all the configurations in the given directory in alphabetical order.
func LoadConfigFile ¶
LoadConfigFile loads the configuration from the given file.
type ListenerFactory ¶
ListenerFactory is the factory function to create a listener.
Click to show internal directories.
Click to hide internal directories.