Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewCollectionDataSource() datasource.DataSource
- func NewCollectionResource() resource.Resource
- func NewCollectionsDataSource() datasource.DataSource
- func NewIndexDataSource() datasource.DataSource
- func NewIndexResource() resource.Resource
- func NewIndexesDataSource() datasource.DataSource
- type CollectionDataSource
- func (d *CollectionDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CollectionDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CollectionDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CollectionResource
- func (r *CollectionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CollectionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CollectionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CollectionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CollectionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CollectionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CollectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CollectionsDataSource
- func (d *CollectionsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CollectionsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CollectionsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type IndexDataSource
- type IndexResource
- func (r *IndexResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *IndexResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *IndexResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *IndexResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *IndexResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *IndexResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *IndexResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type IndexesDataSource
- type PineconeDatasource
- type PineconeProvider
- func (p *PineconeProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PineconeProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *PineconeProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PineconeProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *PineconeProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PineconeProviderModel
- type PineconeResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollectionDataSource ¶
func NewCollectionDataSource() datasource.DataSource
func NewCollectionResource ¶
func NewCollectionsDataSource ¶
func NewCollectionsDataSource() datasource.DataSource
func NewIndexDataSource ¶
func NewIndexDataSource() datasource.DataSource
func NewIndexResource ¶
func NewIndexesDataSource ¶
func NewIndexesDataSource() datasource.DataSource
Types ¶
type CollectionDataSource ¶
type CollectionDataSource struct {
*PineconeDatasource
}
CollectionDataSource defines the data source implementation.
func (*CollectionDataSource) Metadata ¶
func (d *CollectionDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CollectionDataSource) Read ¶
func (d *CollectionDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CollectionDataSource) Schema ¶
func (d *CollectionDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CollectionResource ¶
type CollectionResource struct {
*PineconeResource
}
CollectionResource defines the resource implementation.
func (*CollectionResource) Create ¶
func (r *CollectionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CollectionResource) Delete ¶
func (r *CollectionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CollectionResource) ImportState ¶
func (r *CollectionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CollectionResource) Metadata ¶
func (r *CollectionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CollectionResource) Read ¶
func (r *CollectionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CollectionResource) Schema ¶
func (r *CollectionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CollectionResource) Update ¶
func (r *CollectionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CollectionsDataSource ¶
type CollectionsDataSource struct {
*PineconeDatasource
}
CollectionsDataSource defines the data source implementation.
func (*CollectionsDataSource) Metadata ¶
func (d *CollectionsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CollectionsDataSource) Read ¶
func (d *CollectionsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CollectionsDataSource) Schema ¶
func (d *CollectionsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type IndexDataSource ¶
type IndexDataSource struct {
*PineconeDatasource
}
IndexDataSource defines the data source implementation.
func (*IndexDataSource) Metadata ¶
func (d *IndexDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*IndexDataSource) Read ¶
func (d *IndexDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*IndexDataSource) Schema ¶
func (d *IndexDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type IndexResource ¶
type IndexResource struct {
*PineconeResource
}
IndexResource defines the resource implementation.
func (*IndexResource) Create ¶
func (r *IndexResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*IndexResource) Delete ¶
func (r *IndexResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*IndexResource) ImportState ¶
func (r *IndexResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*IndexResource) Metadata ¶
func (r *IndexResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*IndexResource) Read ¶
func (r *IndexResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*IndexResource) Schema ¶
func (r *IndexResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*IndexResource) Update ¶
func (r *IndexResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type IndexesDataSource ¶
type IndexesDataSource struct {
*PineconeDatasource
}
IndexesDataSource defines the data source implementation.
func (*IndexesDataSource) Metadata ¶
func (d *IndexesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*IndexesDataSource) Read ¶
func (d *IndexesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*IndexesDataSource) Schema ¶
func (d *IndexesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type PineconeDatasource ¶
type PineconeDatasource struct {
// contains filtered or unexported fields
}
func (*PineconeDatasource) Configure ¶
func (d *PineconeDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
type PineconeProvider ¶
type PineconeProvider struct {
// contains filtered or unexported fields
}
PineconeProvider defines the provider implementation.
func (*PineconeProvider) Configure ¶
func (p *PineconeProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*PineconeProvider) DataSources ¶
func (p *PineconeProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*PineconeProvider) Metadata ¶
func (p *PineconeProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*PineconeProvider) Resources ¶
func (p *PineconeProvider) Resources(ctx context.Context) []func() resource.Resource
func (*PineconeProvider) Schema ¶
func (p *PineconeProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type PineconeProviderModel ¶
PineconeProviderModel describes the provider data model.
type PineconeResource ¶
type PineconeResource struct {
// contains filtered or unexported fields
}
func (*PineconeResource) Configure ¶
func (d *PineconeResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Click to show internal directories.
Click to hide internal directories.