collections

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CollectionElementType = types.ObjectType{
	AttrTypes: map[string]attr.Type{
		"id":       types.StringType,
		"database": types.StringType,
		"name":     types.StringType,
	},
}

Functions

func NewCollectionsDataSource

func NewCollectionsDataSource() datasource.DataSource

Types

type CollectionsDataSource

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

CollectionsDataSource defines the data source implementation.

func (*CollectionsDataSource) Configure

func (*CollectionsDataSource) Metadata

func (*CollectionsDataSource) Read

func (*CollectionsDataSource) Schema

type CollectionsDataSourceModel

type CollectionsDataSourceModel struct {
	Name        types.String `tfsdk:"name"`
	Database    types.String `tfsdk:"database"`
	Collections types.List   `tfsdk:"collections"`
}

DocumentDataSourceModel describes the data source data model.

Jump to

Keyboard shortcuts

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