Documentation ¶
Index ¶
- func AddDataSourceFactory(name string, factory func(context.Context) (datasource.DataSource, error))
- func AddResourceFactory(name string, factory func(context.Context) (resource.Resource, error))
- func DataSourceFactories() map[string]func(context.Context) (datasource.DataSource, error)
- func ResourceFactories() map[string]func(context.Context) (resource.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDataSourceFactory ¶ added in v0.34.0
func AddDataSourceFactory(name string, factory func(context.Context) (datasource.DataSource, error))
AddDataSourceFactory registers the specified data source type name and factory.
func AddResourceFactory ¶ added in v0.34.0
AddResourceFactory registers the specified resource type name and factory.
func DataSourceFactories ¶ added in v0.0.6
func DataSourceFactories() map[string]func(context.Context) (datasource.DataSource, error)
DataSourceFactories returns the registered data source factories. Data Source registration is closed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.