tbls: github.com/k1LoW/tbls/datasource Index | Files

package datasource

import "github.com/k1LoW/tbls/datasource"

Index

Package Files

datasource.go

func Analyze Uses

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

Analyze database

func AnalyzeBigquery Uses

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

AnalyzeBigquery analyze `bq://`

func AnalyzeDynamodb Uses

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

AnalizeDynamodb analyze `dynamodb://`

func AnalyzeHTTPResource Uses

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

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

func AnalyzeJSON Uses

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

AnalyzeJSON analyze `json://`

func AnalyzeJSONString Uses

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

Deprecated

func AnalyzeJSONStringOrFile Uses

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

AnalyzeJSONStringOrFile analyze JSON string or JSON file

func AnalyzeSpanner Uses

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

AnalyzeSpanner analyze `spanner://`

func NewBigqueryClient Uses

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

NewBigqueryClient returns new bigquery.Client

Package datasource imports 29 packages (graph) and is imported by 1 packages. Updated 2020-08-04. Refresh now. Tools for package owners.