Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func WithConfig(version string, config *Config) func() provider.Provider
- type Config
- type MongoProvider
- func (p *MongoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *MongoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *MongoProvider) Functions(ctx context.Context) []func() function.Function
- func (p *MongoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *MongoProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *MongoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type MongoProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoProvider ¶
type MongoProvider struct {
// contains filtered or unexported fields
}
MongoProvider defines the provider implementation.
func (*MongoProvider) Configure ¶
func (p *MongoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
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 (p *MongoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*MongoProvider) Resources ¶
func (p *MongoProvider) Resources(ctx context.Context) []func() resource.Resource
func (*MongoProvider) Schema ¶
func (p *MongoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type MongoProviderModel ¶
type MongoProviderModel struct {
URI string `tfsdk:"uri"`
}
MongoProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.