datasource

package
v1.73.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 43 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 AnalyzeGitHubContent added in v1.60.0

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

AnalyzeGitHubContent analyze `github://`

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 AnalyzeMongodb added in v1.55.0

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

AnalyzeMongodb analyze `mongodb://`

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

func NewSpannerClient added in v1.51.0

func NewSpannerClient(ctx context.Context, urlstr string) (*cloudspanner.Client, string, error)

NewSpannerClient returns new cloudspanner.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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