Documentation ¶
Index ¶
- type Registry
- func (c *Registry) DefaultConfigError() error
- func (c *Registry) DeveloperModeEnabled() bool
- func (c *Registry) GetAuthKeysPath() string
- func (c *Registry) GetAuthServiceURL() string
- func (c *Registry) GetClusterServiceURL() string
- func (c *Registry) GetDevModePrivateKey() []byte
- func (c *Registry) GetDiagnoseHTTPAddress() string
- func (c *Registry) GetEnvironment() string
- func (c *Registry) GetHTTPAddress() string
- func (c *Registry) GetLogLevel() string
- func (c *Registry) GetMetricsHTTPAddress() string
- func (c *Registry) GetPostgresConfigString() string
- func (c *Registry) GetPostgresConnectionMaxIdle() int
- func (c *Registry) GetPostgresConnectionMaxOpen() int
- func (c *Registry) GetPostgresConnectionRetrySleep() time.Duration
- func (c *Registry) GetPostgresConnectionTimeout() int64
- func (c *Registry) GetPostgresDatabase() string
- func (c *Registry) GetPostgresHost() string
- func (c *Registry) GetPostgresPassword() string
- func (c *Registry) GetPostgresPort() int64
- func (c *Registry) GetPostgresSSLMode() string
- func (c *Registry) GetPostgresTransactionTimeout() time.Duration
- func (c *Registry) GetPostgresUser() string
- func (c *Registry) GetSentryDSN() string
- func (c *Registry) IsCleanTestDataEnabled() bool
- func (c *Registry) IsCleanTestDataErrorReportingRequired() bool
- func (c *Registry) IsDBLogsEnabled() bool
- func (c *Registry) IsLogJSON() bool
- func (c *Registry) IsPostgresDeveloperModeEnabled() bool
- func (c *Registry) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func Get ¶
Get is a wrapper over New() which reads configuration file path from the environment variable.
func (*Registry) DefaultConfigError ¶
func (*Registry) DeveloperModeEnabled ¶
func (*Registry) GetAuthKeysPath ¶
func (*Registry) GetAuthServiceURL ¶
GetAuthServiceUrl returns Auth Service URL
func (*Registry) GetClusterServiceURL ¶
func (*Registry) GetDevModePrivateKey ¶
func (*Registry) GetDiagnoseHTTPAddress ¶
func (*Registry) GetEnvironment ¶
func (*Registry) GetHTTPAddress ¶
func (*Registry) GetLogLevel ¶
func (*Registry) GetMetricsHTTPAddress ¶
func (*Registry) GetPostgresConfigString ¶
func (*Registry) GetPostgresConnectionMaxIdle ¶
func (*Registry) GetPostgresConnectionMaxOpen ¶
func (*Registry) GetPostgresConnectionRetrySleep ¶
func (*Registry) GetPostgresConnectionTimeout ¶
func (*Registry) GetPostgresDatabase ¶
func (*Registry) GetPostgresHost ¶
func (*Registry) GetPostgresPassword ¶
func (*Registry) GetPostgresPort ¶
func (*Registry) GetPostgresSSLMode ¶
func (*Registry) GetPostgresTransactionTimeout ¶
func (*Registry) GetPostgresUser ¶
func (*Registry) GetSentryDSN ¶
func (*Registry) IsCleanTestDataEnabled ¶
func (*Registry) IsCleanTestDataErrorReportingRequired ¶
func (*Registry) IsDBLogsEnabled ¶
func (*Registry) IsPostgresDeveloperModeEnabled ¶
Click to show internal directories.
Click to hide internal directories.