Documentation ¶
Index ¶
Constants ¶
View Source
const ( PostgresDatabaseName = "postgres" PostgresDatabaseUser = "postgres" DatabasePort = 5432 DatabaseDriver = "postgres" )
Variables ¶
This section is empty.
Functions ¶
func SetupLogging ¶
Types ¶
type Config ¶
type Config struct { // The name of the application ApplicationName string `env:"APP_NAME, required"` // The namespace to work in Namespace string `env:"NAMESPACE, required"` // New instance configuration TargetInstance InstanceSettings `env:", prefix=TARGET_INSTANCE_"` // Logging configuration Logging // Development mode config Development Development `env:", prefix=DEVELOPMENT_MODE_"` }
type Development ¶
type FinalizeConfig ¶
type InstanceSettings ¶
type RollbackConfig ¶
type RollbackConfig struct { Config // Source instance configuration SourceInstance InstanceSettings `env:", prefix=SOURCE_INSTANCE_"` }
Click to show internal directories.
Click to hide internal directories.