Versions in this module Expand all Collapse all v0 v0.1.0 Jul 12, 2021 Changes in this version + func TLSConfig(l *ListenerConfig, props map[string]string, ui cli.Ui) (*tls.Config, reloadutil.ReloadFunc, error) + func UnixSocketListener(path string, unixSocketsConfig *UnixSocketsConfig) (net.Listener, error) + type Listener struct + Config ListenerConfig + type ListenerConfig struct + Address string + ClusterAddress string + CorsAllowedHeaders []string + CorsAllowedHeadersRaw []string + CorsAllowedOrigins []string + CorsDisableDefaultAllowedOriginValues *bool + CorsDisableDefaultAllowedOriginValuesRaw interface{} + CorsEnabled *bool + CorsEnabledRaw interface{} + HTTPIdleTimeout time.Duration + HTTPIdleTimeoutRaw interface{} + HTTPReadHeaderTimeout time.Duration + HTTPReadHeaderTimeoutRaw interface{} + HTTPReadTimeout time.Duration + HTTPReadTimeoutRaw interface{} + HTTPWriteTimeout time.Duration + HTTPWriteTimeoutRaw interface{} + MaxRequestDuration time.Duration + MaxRequestDurationRaw interface{} + MaxRequestSize int64 + MaxRequestSizeRaw interface{} + ProxyProtocolAuthorizedAddrs []*sockaddr.SockAddrMarshaler + ProxyProtocolAuthorizedAddrsRaw interface{} + ProxyProtocolBehavior string + Purpose []string + PurposeRaw interface{} + RandomPort bool + RawConfig map[string]interface{} + RequireRequestHeader bool + RequireRequestHeaderRaw interface{} + SocketGroup string + SocketMode string + SocketUser string + TLSCertFile string + TLSCipherSuites []uint16 + TLSCipherSuitesRaw string + TLSClientCAFile string + TLSDisable bool + TLSDisableClientCerts bool + TLSDisableClientCertsRaw interface{} + TLSDisableRaw interface{} + TLSKeyFile string + TLSMaxVersion string + TLSMinVersion string + TLSPreferServerCipherSuites bool + TLSPreferServerCipherSuitesRaw interface{} + TLSRequireAndVerifyClientCert bool + TLSRequireAndVerifyClientCertRaw interface{} + Telemetry ListenerTelemetry + Type string + XForwardedForAuthorizedAddrs []*sockaddr.SockAddrMarshaler + XForwardedForAuthorizedAddrsRaw interface{} + XForwardedForHopSkips int64 + XForwardedForHopSkipsRaw interface{} + XForwardedForRejectNotAuthorized bool + XForwardedForRejectNotAuthorizedRaw interface{} + XForwardedForRejectNotPresent bool + XForwardedForRejectNotPresentRaw interface{} + func ParseListeners(list *ast.ObjectList) ([]*ListenerConfig, error) + func (l *ListenerConfig) GoString() string + type ListenerTelemetry struct + UnauthenticatedMetricsAccess bool + UnauthenticatedMetricsAccessRaw interface{} + type UnixSocketsConfig struct + Group string + Mode string + User string Other modules containing this package github.com/hashicorp/shared-secure-libs