snowflake

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureConnection

func ConfigureConnection(cfg snowflake.Config) (*sql.DB, error)

Types

type Account

type Account struct {
	AppID string
	Name  string
	DB    *sql.DB
}

type Accounts

type Accounts struct {
	OKTAMAP map[string]string `required:"true"`
}

type SnowflakeClientEnv

type SnowflakeClientEnv struct {
	NAME                string `required:"true"`
	USER                string `required:"true"`
	ROLE                string `required:"true"`
	PARAM_STORE_SERVICE string `required:"true"`
	REGION              string
}

envconfig that's prefixed by the snowflake account name

func LoadSnowflakeEnv

func LoadSnowflakeEnv(acctName string) (*SnowflakeClientEnv, error)

Jump to

Keyboard shortcuts

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