Versions in this module Expand all Collapse all v1 v1.6.4 Feb 24, 2021 Changes in this version + const LeaseMetricsEpsilonDefault + const MaximumGaugeCardinalityDefault + const NumLeaseMetricsTimeBucketsDefault + const PrometheusDefaultRetentionTime + const UsageGaugeDefaultPeriod + var ConfigureWrapper = configureWrapper + var CreateSecureRandomReaderFunc = createSecureRandomReader + var GetAWSKMSFunc = func(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + var GetTransitKMSFunc = func(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + func EncryptDecrypt(rawStr string, decrypt, strip bool, wrapper wrapping.Wrapper) (string, error) + func GetAEADKMSFunc(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + func GetAliCloudKMSFunc(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + func GetAzureKeyVaultKMSFunc(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + func GetDuoKeyKMSFunc(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + func GetGCPCKMSKMSFunc(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + func GetOCIKMSKMSFunc(opts *wrapping.WrapperOptions, kms *KMS) (wrapping.Wrapper, map[string]string, error) + func ParseEntropy(result *SharedConfig, list *ast.ObjectList, blockName string) error + func ParseListeners(result *SharedConfig, list *ast.ObjectList) error + func SetupTelemetry(opts *SetupTelemetryOpts) (*metrics.InmemSink, *metricsutil.ClusterMetricSink, bool, error) + type EntSharedConfig struct + func (ec *EntSharedConfig) ParseConfig(list *ast.ObjectList) error + type Entropy struct + Mode EntropyMode + type EntropyMode int + const EntropyAugmentation + const EntropyUnknown + type KMS struct + Config map[string]string + Disabled bool + Purpose []string + Type string + func LoadConfigKMSes(path string) ([]*KMS, error) + func ParseKMSes(d string) ([]*KMS, error) + func (k *KMS) GoString() string + type Listener struct + Address string + ClusterAddress string + CorsAllowedHeaders []string + CorsAllowedHeadersRaw []string + CorsAllowedOrigins []string + 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 + 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 (l *Listener) GoString() string + type ListenerTelemetry struct + UnauthenticatedMetricsAccess bool + UnauthenticatedMetricsAccessRaw interface{} + type SetupTelemetryOpts struct + ClusterName string + Config *Telemetry + DisplayName string + ServiceName string + Ui cli.Ui + UserAgent string + type SharedConfig struct + ClusterName string + DefaultMaxRequestDuration time.Duration + DefaultMaxRequestDurationRaw interface{} + DisableMlock bool + DisableMlockRaw interface{} + Entropy *Entropy + Listeners []*Listener + LogFormat string + LogLevel string + PidFile string + Seals []*KMS + Telemetry *Telemetry + func LoadConfigFile(path string) (*SharedConfig, error) + func ParseConfig(d string) (*SharedConfig, error) + func (c *SharedConfig) Merge(c2 *SharedConfig) *SharedConfig + func (c *SharedConfig) Sanitized() map[string]interface{} + type Telemetry struct + CirconusAPIApp string + CirconusAPIToken string + CirconusAPIURL string + CirconusBrokerID string + CirconusBrokerSelectTag string + CirconusCheckDisplayName string + CirconusCheckForceMetricActivation string + CirconusCheckID string + CirconusCheckInstanceID string + CirconusCheckSearchTag string + CirconusCheckSubmissionURL string + CirconusCheckTags string + CirconusSubmissionInterval string + DisableHostname bool + DogStatsDAddr string + DogStatsDTags []string + EnableHostnameLabel bool + LeaseMetricsEpsilon time.Duration + LeaseMetricsEpsilonRaw interface{} + LeaseMetricsNameSpaceLabels bool + MaximumGaugeCardinality int + MetricsPrefix string + NumLeaseMetricsTimeBuckets int + PrometheusRetentionTime time.Duration + PrometheusRetentionTimeRaw interface{} + StackdriverDebugLogs bool + StackdriverLocation string + StackdriverNamespace string + StackdriverProjectID string + StatsdAddr string + StatsiteAddr string + UsageGaugePeriod time.Duration + UsageGaugePeriodRaw interface{} + func (t *Telemetry) GoString() string