registry

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDataSourceTypeFactory added in v0.0.6

func AddDataSourceTypeFactory(name string, factory func(context.Context) (tfsdk.DataSourceType, error))

AddDataSourceTypeFactory registers the specified data source type name and factory.

func AddResourceTypeFactory

func AddResourceTypeFactory(name string, factory func(context.Context) (tfsdk.ResourceType, error))

AddResourceTypeFactory registers the specified resource type name and factory.

func DataSourceFactories added in v0.0.6

func DataSourceFactories() map[string]func(context.Context) (tfsdk.DataSourceType, error)

DataSourceFactories returns the registered data source factories. Data Source registration is closed.

func ResourceFactories

func ResourceFactories() map[string]func(context.Context) (tfsdk.ResourceType, 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