flags

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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 APIKeyFlags(f *pflag.FlagSet)

func GetStoreName

func GetStoreName(vipr *viper.Viper) string

func HTTPFlags

func HTTPFlags(f *pflag.FlagSet)

HTTPFlags register flags for HTTPS server

func LoggerFlags

func LoggerFlags(f *pflag.FlagSet)

func ManifestFlags

func ManifestFlags(f *pflag.FlagSet)

ManifestFlags register flags for Node

func NewAPIKeyConfig

func NewAPIKeyConfig(vipr *viper.Viper) *csv.Config

func NewAppConfig

func NewAppConfig(vipr *viper.Viper) (*app.Config, error)

func NewLoggerConfig

func NewLoggerConfig(vipr *viper.Viper) *zap.Config

func NewManifestConfig

func NewManifestConfig(vipr *viper.Viper) *manifests.Config

func NewOIDCConfig

func NewOIDCConfig(vipr *viper.Viper) *jose.Config

func NewPostgresConfig

func NewPostgresConfig(vipr *viper.Viper) *postgresclient.Config

func NewTLSConfig

func NewTLSConfig(vipr *viper.Viper) *tls.Config

func OIDCFlags

func OIDCFlags(f *pflag.FlagSet)

func PGFlags

func PGFlags(f *pflag.FlagSet)

PGFlags register flags for Postgres database

func SyncFlags

func SyncFlags(f *pflag.FlagSet)

func TLSFlags

func TLSFlags(f *pflag.FlagSet)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL