datasource

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 31 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(dsn config.DSN) (*schema.Schema, error)

Analyze database

func AnalyzeBigquery added in v1.28.0

func AnalyzeBigquery(urlstr string) (*schema.Schema, error)

AnalyzeBigquery analyze `bq://`

func AnalyzeDynamodb added in v1.28.0

func AnalyzeDynamodb(urlstr string) (*schema.Schema, error)

AnalizeDynamodb analyze `dynamodb://`

func AnalyzeHTTPResource added in v1.29.3

func AnalyzeHTTPResource(dsn config.DSN) (*schema.Schema, error)

AnalyzeHTTPResource analyze `https://` or `http://`

func AnalyzeJSON added in v1.28.0

func AnalyzeJSON(urlstr string) (*schema.Schema, error)

AnalyzeJSON analyze `json://`

func AnalyzeJSONString added in v1.34.1

func AnalyzeJSONString(str string) (*schema.Schema, error)

Deprecated

func AnalyzeJSONStringOrFile added in v1.38.2

func AnalyzeJSONStringOrFile(strOrPath string) (s *schema.Schema, err error)

AnalyzeJSONStringOrFile analyze JSON string or JSON file

func AnalyzeSpanner added in v1.28.0

func AnalyzeSpanner(urlstr string) (*schema.Schema, error)

AnalyzeSpanner analyze `spanner://`

func NewBigqueryClient added in v1.35.0

func NewBigqueryClient(ctx context.Context, urlstr string) (*bigquery.Client, string, string, error)

NewBigqueryClient returns new bigquery.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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