registry

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

func AddResourceFactory(name string, factory func(context.Context) (resource.Resource, error))

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.

func ResourceFactories

func ResourceFactories() map[string]func(context.Context) (resource.Resource, error)

ResourceFactories returns the registered resource factories. Resource registration is closed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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