snowsql

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig() (map[string]*Connection, error)

Types

type Connection

type Connection struct {
	AccountName   string `ini:"accountname"`
	Region        string `ini:"region"`
	Username      string `ini:"username"`
	Password      string `ini:"password"`
	DBName        string `ini:"dbname"`
	SchemaName    string `ini:"schemaname"`
	WarehouseName string `ini:"warehousename"`
	RoleName      string `ini:"rolename"`
	ProxyHost     string `ini:"proxyhost"`
	ProxyPort     string `ini:"proxyport"`
}

func (*Connection) SnowflakeConfig

func (c *Connection) SnowflakeConfig() *sf.Config

Jump to

Keyboard shortcuts

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