provider

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func WithConfig

func WithConfig(version string, config *Config) func() provider.Provider

Types

type Config

type Config struct {
	Logger *zap.Logger
}

type MongoProvider

type MongoProvider struct {
	// contains filtered or unexported fields
}

MongoProvider defines the provider implementation.

func (*MongoProvider) Configure

func (*MongoProvider) DataSources

func (p *MongoProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*MongoProvider) Functions

func (p *MongoProvider) Functions(ctx context.Context) []func() function.Function

func (*MongoProvider) Metadata

func (*MongoProvider) Resources

func (p *MongoProvider) Resources(ctx context.Context) []func() resource.Resource

func (*MongoProvider) Schema

type MongoProviderModel

type MongoProviderModel struct {
	URI string `tfsdk:"uri"`
}

MongoProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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