provider

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MPL-2.0 Imports: 29 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 NewCollectionDataSource

func NewCollectionDataSource() datasource.DataSource

func NewCollectionResource

func NewCollectionResource() resource.Resource

func NewCollectionsDataSource

func NewCollectionsDataSource() datasource.DataSource

func NewIndexDataSource

func NewIndexDataSource() datasource.DataSource

func NewIndexResource

func NewIndexResource() resource.Resource

func NewIndexesDataSource

func NewIndexesDataSource() datasource.DataSource

Types

type CollectionDataSource

type CollectionDataSource struct {
	*PineconeDatasource
}

CollectionDataSource defines the data source implementation.

func (*CollectionDataSource) Metadata

func (*CollectionDataSource) Read

func (*CollectionDataSource) Schema

type CollectionResource

type CollectionResource struct {
	*PineconeResource
}

CollectionResource defines the resource implementation.

func (*CollectionResource) Create

func (*CollectionResource) Delete

func (*CollectionResource) ImportState

func (*CollectionResource) Metadata

func (*CollectionResource) Read

func (*CollectionResource) Schema

func (*CollectionResource) Update

type CollectionsDataSource

type CollectionsDataSource struct {
	*PineconeDatasource
}

CollectionsDataSource defines the data source implementation.

func (*CollectionsDataSource) Metadata

func (*CollectionsDataSource) Read

func (*CollectionsDataSource) Schema

type IndexDataSource

type IndexDataSource struct {
	*PineconeDatasource
}

IndexDataSource defines the data source implementation.

func (*IndexDataSource) Metadata

func (*IndexDataSource) Read

func (*IndexDataSource) Schema

type IndexResource

type IndexResource struct {
	*PineconeResource
}

IndexResource defines the resource implementation.

func (*IndexResource) Create

func (*IndexResource) Delete

func (*IndexResource) ImportState

func (*IndexResource) Metadata

func (*IndexResource) Read

func (*IndexResource) Schema

func (*IndexResource) Update

type IndexesDataSource

type IndexesDataSource struct {
	*PineconeDatasource
}

IndexesDataSource defines the data source implementation.

func (*IndexesDataSource) Metadata

func (*IndexesDataSource) Read

func (*IndexesDataSource) Schema

type PineconeDatasource

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

func (*PineconeDatasource) Configure

type PineconeProvider

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

PineconeProvider defines the provider implementation.

func (*PineconeProvider) Configure

func (*PineconeProvider) DataSources

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

func (*PineconeProvider) Metadata

func (*PineconeProvider) Resources

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

func (*PineconeProvider) Schema

type PineconeProviderModel

type PineconeProviderModel struct {
	ApiKey types.String `tfsdk:"api_key"`
}

PineconeProviderModel describes the provider data model.

type PineconeResource

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

func (*PineconeResource) Configure

Jump to

Keyboard shortcuts

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