connection

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	BigQuery  map[string]*bigquery.Client
	Snowflake map[string]*snowflake.DB
	Postgres  map[string]*postgres.Client
	MsSQL     map[string]*mssql.DB
	Mongo     map[string]*mongo.DB
	Mysql     map[string]*mysql.Client
	Notion    map[string]*notion.Client
	HANA      map[string]*hana.Client
	// contains filtered or unexported fields
}

func NewManagerFromConfig

func NewManagerFromConfig(cm *config.Config) (*Manager, error)

func (*Manager) AddBqConnectionFromConfig

func (m *Manager) AddBqConnectionFromConfig(connection *config.GoogleCloudPlatformConnection) error

func (*Manager) AddHANAConnectionFromConfig added in v0.8.2

func (m *Manager) AddHANAConnectionFromConfig(connection *config.HANAConnection) error

func (*Manager) AddMongoConnectionFromConfig added in v0.7.2

func (m *Manager) AddMongoConnectionFromConfig(connection *config.MongoConnection) error

func (*Manager) AddMsSQLConnectionFromConfig added in v0.5.6

func (m *Manager) AddMsSQLConnectionFromConfig(connection *config.MsSQLConnection) error

func (*Manager) AddMySQLConnectionFromConfig added in v0.7.8

func (m *Manager) AddMySQLConnectionFromConfig(connection *config.MySQLConnection) error

func (*Manager) AddNotionConnectionFromConfig added in v0.7.9

func (m *Manager) AddNotionConnectionFromConfig(connection *config.NotionConnection) error

func (*Manager) AddPgConnectionFromConfig added in v0.5.0

func (m *Manager) AddPgConnectionFromConfig(connection *config.PostgresConnection) error

func (*Manager) AddRedshiftConnectionFromConfig added in v0.7.0

func (m *Manager) AddRedshiftConnectionFromConfig(connection *config.PostgresConnection) error

func (*Manager) AddSfConnectionFromConfig added in v0.2.0

func (m *Manager) AddSfConnectionFromConfig(connection *config.SnowflakeConnection) error

func (*Manager) GetBqConnection

func (m *Manager) GetBqConnection(name string) (bigquery.DB, error)

func (*Manager) GetBqConnectionWithoutDefault added in v0.4.3

func (m *Manager) GetBqConnectionWithoutDefault(name string) (bigquery.DB, error)

func (*Manager) GetConnection

func (m *Manager) GetConnection(name string) (interface{}, error)

func (*Manager) GetHANAConnection added in v0.8.2

func (m *Manager) GetHANAConnection(name string) (*hana.Client, error)

func (*Manager) GetHANAConnectionWithoutDefault added in v0.8.2

func (m *Manager) GetHANAConnectionWithoutDefault(name string) (*hana.Client, error)

func (*Manager) GetMongoConnection added in v0.7.2

func (m *Manager) GetMongoConnection(name string) (*mongo.DB, error)

func (*Manager) GetMongoConnectionWithoutDefault added in v0.7.2

func (m *Manager) GetMongoConnectionWithoutDefault(name string) (*mongo.DB, error)

func (*Manager) GetMsConnection added in v0.5.6

func (m *Manager) GetMsConnection(name string) (mssql.MsClient, error)

func (*Manager) GetMsConnectionWithoutDefault added in v0.5.6

func (m *Manager) GetMsConnectionWithoutDefault(name string) (mssql.MsClient, error)

func (*Manager) GetMySQLConnection added in v0.7.8

func (m *Manager) GetMySQLConnection(name string) (*mysql.Client, error)

func (*Manager) GetMySQLConnectionWithoutDefault added in v0.7.8

func (m *Manager) GetMySQLConnectionWithoutDefault(name string) (*mysql.Client, error)

func (*Manager) GetNotionConnection added in v0.7.9

func (m *Manager) GetNotionConnection(name string) (*notion.Client, error)

func (*Manager) GetNotionConnectionWithoutDefault added in v0.7.9

func (m *Manager) GetNotionConnectionWithoutDefault(name string) (*notion.Client, error)

func (*Manager) GetPgConnection added in v0.5.0

func (m *Manager) GetPgConnection(name string) (postgres.PgClient, error)

func (*Manager) GetPgConnectionWithoutDefault added in v0.5.0

func (m *Manager) GetPgConnectionWithoutDefault(name string) (postgres.PgClient, error)

func (*Manager) GetSfConnection added in v0.2.0

func (m *Manager) GetSfConnection(name string) (snowflake.SfClient, error)

func (*Manager) GetSfConnectionWithoutDefault added in v0.4.3

func (m *Manager) GetSfConnectionWithoutDefault(name string) (snowflake.SfClient, error)

Jump to

Keyboard shortcuts

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