connection

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 3 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
}

func NewManagerFromConfig

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

func (*Manager) AddBqConnectionFromConfig

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

func (*Manager) GetBqConnection

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

func (*Manager) GetConnection

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

Jump to

Keyboard shortcuts

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