provider

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketResource

func BucketResource() resource.Resource

func New

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

func OrganizationDataSource

func OrganizationDataSource() datasource.DataSource

func OrganizationResource

func OrganizationResource() resource.Resource

Types

type InfluxdbV2Provider

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

InfluxdbV2Provider defines the provider implementation.

func (*InfluxdbV2Provider) Configure

func (*InfluxdbV2Provider) DataSources

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

func (*InfluxdbV2Provider) Metadata

func (*InfluxdbV2Provider) Resources

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

func (*InfluxdbV2Provider) Schema

type InfluxdbV2ProviderModel

type InfluxdbV2ProviderModel struct {
	Host   types.String `tfsdk:"host"`
	ApiKey types.String `tfsdk:"api_key"`
}

InfluxdbV2ProviderModel describes the provider data model.

type OrganizationDataSourceModel

type OrganizationDataSourceModel struct {
	Name        types.String `tfsdk:"name"`
	Id          types.String `tfsdk:"id"`
	Description types.String `tfsdk:"description"`
	Status      types.String `tfsdk:"status"`
	CreatedAt   types.String `tfsdk:"created_at"`
	UpdatedAt   types.String `tfsdk:"updated_at"`
}

OrganizationDataSourceModel describes the data source data model.

Jump to

Keyboard shortcuts

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