Versions in this module Expand all Collapse all v0 v0.1.0 Sep 30, 2024retracted Changes in this version + const VaultDevCAFilename + const VaultDevCertFilename + const VaultDevKeyFilename + var BuiltinListeners = map[string]ListenerFactory + var DefaultCustomHeaders = map[string]map[string]string + func GenerateCert(caCertTemplate *x509.Certificate, caSigner crypto.Signer) (string, string, error) + func NewListener(l *configutil.Listener, logger io.Writer, ui cli.Ui) (net.Listener, map[string]string, reloadutil.ReloadFunc, error) + func ParseStorage(result *Config, list *ast.ObjectList, name string) error + type CaCert struct + PEM string + Signer crypto.Signer + Template *x509.Certificate + func GenerateCA() (*CaCert, error) + type Config struct + APIAddr string + CacheSize int + ClusterAddr string + ClusterCipherSuites string + DefaultLeaseTTL time.Duration + DefaultLeaseTTLRaw interface{} + DetectDeadlocks string + DisableCache bool + DisableCacheRaw interface{} + DisableClustering bool + DisableClusteringRaw interface{} + DisableIndexing bool + DisableIndexingRaw interface{} + DisablePerformanceStandby bool + DisablePerformanceStandbyRaw interface{} + DisablePrintableCheck bool + DisablePrintableCheckRaw interface{} + DisableSSCTokens *bool + DisableSealWrap bool + DisableSealWrapRaw interface{} + DisableSentinelTrace bool + DisableSentinelTraceRaw interface{} + EnableIntrospectionEndpoint bool + EnableIntrospectionEndpointRaw interface{} + EnableRawEndpoint bool + EnableRawEndpointRaw interface{} + EnableResponseHeaderHostname bool + EnableResponseHeaderHostnameRaw interface{} + EnableResponseHeaderRaftNodeID bool + EnableResponseHeaderRaftNodeIDRaw interface{} + EnableUI bool + EnableUIRaw interface{} + FoundKeys []string + HAStorage *Storage + ImpreciseLeaseRoleTracking bool + LogRequestsLevel string + LogRequestsLevelRaw interface{} + MaxLeaseTTL time.Duration + MaxLeaseTTLRaw interface{} + PluginDirectory string + PluginFilePermissions int + PluginFilePermissionsRaw interface{} + PluginFileUid int + ServiceRegistration *ServiceRegistration + Storage *Storage + UnusedKeys configutil.UnusedKeyMap + func CheckConfig(c *Config, e error) (*Config, error) + func DevConfig(storageType string) (*Config, error) + func DevTLSConfig(storageType, certDir string) (*Config, error) + func LoadConfig(path string) (*Config, error) + func LoadConfigDir(dir string) (*Config, error) + func LoadConfigFile(path string) (*Config, error) + func NewConfig() *Config + func ParseConfig(d, source string) (*Config, error) + func (c *Config) Merge(c2 *Config) *Config + func (c *Config) Prune() + func (c *Config) Sanitized() map[string]interface{} + func (c *Config) ToVaultNodeConfig() (*testcluster.VaultNodeConfig, error) + func (c *Config) Validate(sourceFilePath string) []configutil.ConfigError + type ListenerFactory func(*configutil.Listener, io.Writer, cli.Ui) (net.Listener, map[string]string, reloadutil.ReloadFunc, error) + type ServiceRegistration struct + Config map[string]string + Type string + UnusedKeys configutil.UnusedKeyMap + func (b *ServiceRegistration) GoString() string + func (b *ServiceRegistration) Validate(source string) []configutil.ConfigError + type Storage struct + ClusterAddr string + Config map[string]string + DisableClustering bool + RedirectAddr string + Type string + func (b *Storage) GoString() string + type TCPKeepAliveListener struct + func (ln TCPKeepAliveListener) Accept() (c net.Conn, err error)