Documentation ¶
Index ¶
- func NewDocumentsDataSource() datasource.DataSource
- type DocumentsDataSource
- func (d *DocumentsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DocumentsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DocumentsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DocumentsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DocumentsDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDocumentsDataSource ¶
func NewDocumentsDataSource() datasource.DataSource
Types ¶
type DocumentsDataSource ¶
type DocumentsDataSource struct {
// contains filtered or unexported fields
}
DocumentsDataSource defines the data source implementation.
func (*DocumentsDataSource) Configure ¶
func (d *DocumentsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DocumentsDataSource) Metadata ¶
func (d *DocumentsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DocumentsDataSource) Read ¶
func (d *DocumentsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DocumentsDataSource) Schema ¶
func (d *DocumentsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DocumentsDataSourceModel ¶
type DocumentsDataSourceModel struct { Database types.String `tfsdk:"database"` Collection types.String `tfsdk:"collection"` Filter types.String `tfsdk:"filter"` Documents types.String `tfsdk:"documents"` }
DocumentDataSourceModel describes the data source data model.
Click to show internal directories.
Click to hide internal directories.