Documentation
¶
Overview ¶
Package datasource provides a mechanism to create data sources from URLs with custom schemes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(u string) (api.DataSource, error)
Create creates a new data source from the supplied URL. Such a URL has a scheme that is the type of supported data source, a hostname that is the name that it should be referred to in user code, and a query param called configVar which supplies the data source config.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package api defines the data source interface
|
Package api defines the data source interface |
Package exec provides a data source implementation that can execute external commands and return its standard output for import or importstr use.
|
Package exec provides a data source implementation that can execute external commands and return its standard output for import or importstr use. |
Click to show internal directories.
Click to hide internal directories.