Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Host is the database host URL. Host string `yaml:"host" pflag:",Database host url"` // Username is the database username. Username string `yaml:"username" pflag:",Database username"` // DatabaseName is the name of the database. Database string `yaml:"database" pflag:",Database name"` // Port is the database port. Port string `yaml:"port" pflag:",Database Port"` // SSL is used to enable or disable SSL for the database connection. SSL string `yaml:"ssl" pflag:",Database ssl enable/disable"` // ProjectID is the BigQuery project ID. ProjectID string `yaml:"project_id" pflag:",BigQuery project ID"` // Warehouse is the Snowflake warehouse. Warehouse string `yaml:"warehouse" pflag:",Snowflake warehouse"` // Schema is the Snowflake database schema. Schema string `yaml:"schema" pflag:",Snowflake/redshift database schema"` // Account is the Snowflake account ID. Account string `yaml:"account" pflag:",Snowflake account ID"` // Debug is used to enable or disable debug mode. Debug bool `yaml:"debug" pflag:",Debug mode"` }
Config holds the configuration details for various databases.
Click to show internal directories.
Click to hide internal directories.