datasource

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransformDataSource added in v1.0.2

func NewTransformDataSource() ds.DataSource

Types

type TopicModel added in v1.0.2

type TopicModel struct {
	ID   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
}

type TransformDataSource added in v1.0.2

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

TransformDataSource defines the data source implementation.

func (*TransformDataSource) Configure added in v1.0.2

func (*TransformDataSource) Metadata added in v1.0.2

func (*TransformDataSource) Read added in v1.0.2

func (d *TransformDataSource) Read(ctx context.Context, req ds.ReadRequest, resp *ds.ReadResponse)

func (*TransformDataSource) Schema added in v1.0.2

type TransformDataSourceModel added in v1.0.2

type TransformDataSourceModel struct {
	ID        types.String   `tfsdk:"id"`
	Name      types.String   `tfsdk:"name"`
	StartTime types.String   `tfsdk:"start_time"`
	TopicIDs  []types.String `tfsdk:"topic_ids"`
	TopicMap  []TopicModel   `tfsdk:"topic_map"`
}

TransformDataSourceModel describes the data source data model.

Jump to

Keyboard shortcuts

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