Documentation ¶
Index ¶
- Constants
- func APIKeyFlags(f *pflag.FlagSet)
- func GetStoreName(vipr *viper.Viper) string
- func HTTPFlags(f *pflag.FlagSet)
- func LoggerFlags(f *pflag.FlagSet)
- func ManifestFlags(f *pflag.FlagSet)
- func NewAPIKeyConfig(vipr *viper.Viper) *csv.Config
- func NewAppConfig(vipr *viper.Viper) (*app.Config, error)
- func NewLoggerConfig(vipr *viper.Viper) *zap.Config
- func NewManifestConfig(vipr *viper.Viper) *manifests.Config
- func NewOIDCConfig(vipr *viper.Viper) *jose.Config
- func NewPostgresConfig(vipr *viper.Viper) *postgresclient.Config
- func NewTLSConfig(vipr *viper.Viper) *tls.Config
- func OIDCFlags(f *pflag.FlagSet)
- func PGFlags(f *pflag.FlagSet)
- func SyncFlags(f *pflag.FlagSet)
- func TLSFlags(f *pflag.FlagSet)
Constants ¶
View Source
const (
AuthOIDCAudienceViperKey = "auth.oidc.audience"
)
View Source
const (
DBDatabaseViperKey = "db.database"
)
View Source
const (
DBHostViperKey = "db.host"
)
View Source
const (
DBKeepAliveKey = "db.keepalive"
)
View Source
const (
DBPasswordViperKey = "db.password"
)
View Source
const (
DBPoolSizeViperKey = "db.poolsize"
)
View Source
const (
DBPoolTimeoutViperKey = "db.pool-timeout"
)
View Source
const (
DBPortViperKey = "db.port"
)
View Source
const (
DBTLSCAViperKey = "db.tls.ca"
)
View Source
const (
DBTLSCertViperKey = "db.tls.cert"
)
View Source
const (
DBTLSKeyViperKey = "db.tls.key"
)
View Source
const (
DBTLSSSLModeViperKey = "db.tls.sslmode"
)
View Source
const (
DBUserViperKey = "db.user"
)
View Source
const (
FormatViperKey = "log.format"
)
View Source
const (
LevelViperKey = "log.level"
)
View Source
const (
ManifestPath = "manifest-path"
)
Variables ¶
This section is empty.
Functions ¶
func APIKeyFlags ¶
func GetStoreName ¶
func LoggerFlags ¶
func NewPostgresConfig ¶
func NewPostgresConfig(vipr *viper.Viper) *postgresclient.Config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.