Documentation ¶
Overview ¶
Package factory 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) (ds.DataSourceWithLifecycle, 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.
Click to show internal directories.
Click to hide internal directories.