Documentation
¶
Index ¶
Constants ¶
View Source
const (
DatabaseType = "snowflake"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Account string `json:"account"`
Warehouse string `json:"warehouse"`
DBName string `json:"dbname"`
User string `json:"user"`
Schema string `json:"schema"`
Role string `json:"role"`
Password string `json:"password"`
UseKeyPairAuth bool `json:"useKeyPairAuth"`
PrivateKey string `json:"privateKey"`
PrivateKeyPassphrase string `json:"privateKeyPassphrase"`
KeepSessionAlive bool `json:"keepSessionAlive"`
UseLegacyMappings bool `json:"useLegacyMappings"`
}
func (Config) ConnectionString ¶
func (*Config) ParsePrivateKey ¶ added in v1.4.0
func (c *Config) ParsePrivateKey() (*rsa.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.