config

package
v0.0.0-...-aa54b91 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocketConfig

type LocketConfig struct {
	CaFile                        string                `json:"ca_file"`
	CertFile                      string                `json:"cert_file"`
	DatabaseConnectionString      string                `json:"database_connection_string"`
	MaxOpenDatabaseConnections    int                   `json:"max_open_database_connections,omitempty"`
	MaxDatabaseConnectionLifetime durationjson.Duration `json:"max_database_connection_lifetime,omitempty"`
	DatabaseDriver                string                `json:"database_driver,omitempty"`
	KeyFile                       string                `json:"key_file"`
	ListenAddress                 string                `json:"listen_address"`
	SQLCACertFile                 string                `json:"sql_ca_cert_file,omitempty"`
	SQLEnableIdentityVerification bool                  `json:"sql_enable_identity_verification,omitempty"`
	LoggregatorConfig             loggingclient.Config  `json:"loggregator"`
	ReportInterval                durationjson.Duration `json:"report_interval,omitempty"`
	debugserver.DebugServerConfig
	lagerflags.LagerConfig
}

func NewLocketConfig

func NewLocketConfig(configPath string) (LocketConfig, error)

Jump to

Keyboard shortcuts

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