connection

package
v0.11.11 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 16 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
	Shopify   map[string]*shopify.Client
	Gorgias   map[string]*gorgias.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) AddGorgiasConnectionFromConfig added in v0.11.5

func (m *Manager) AddGorgiasConnectionFromConfig(connection *config.GorgiasConnection) 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) AddShopifyConnectionFromConfig added in v0.11.5

func (m *Manager) AddShopifyConnectionFromConfig(connection *config.ShopifyConnection) 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) GetGorgiasConnection added in v0.11.5

func (m *Manager) GetGorgiasConnection(name string) (*gorgias.Client, error)

func (*Manager) GetGorgiasConnectionWithoutDefault added in v0.11.5

func (m *Manager) GetGorgiasConnectionWithoutDefault(name string) (*gorgias.Client, 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)

func (*Manager) GetShopifyConnection added in v0.11.5

func (m *Manager) GetShopifyConnection(name string) (*shopify.Client, error)

func (*Manager) GetShopifyConnectionWithoutDefault added in v0.11.5

func (m *Manager) GetShopifyConnectionWithoutDefault(name string) (*shopify.Client, error)

Jump to

Keyboard shortcuts

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