Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig() (map[string]*Connection, error)
Types ¶
type ConfigToml ¶
type ConfigToml struct {
DefaultConnectionName string `toml:"default_connection_name"`
}
type Connection ¶
type Connection struct { Account string `toml:"account"` User string `toml:"user"` Password string `toml:"password"` Authenticator string `toml:"authenticator"` Warehouse string `toml:"warehouse"` Rolename string `toml:"rolename"` Database string `toml:"database"` Schema string `toml:"schema"` }
func (*Connection) SnowflakeConfig ¶
func (c *Connection) SnowflakeConfig() *sf.Config
type ConnectionsToml ¶
type ConnectionsToml struct {
Connections map[string]Connection `toml:"connections"`
}
Click to show internal directories.
Click to hide internal directories.