datasources

package
v0.0.0-...-fe0a372 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package datasources implements example data sources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExample

func NewExample() datasource.DataSource

Types

type Example

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

Example defines the data source implementation.

func (*Example) Configure

func (*Example) Metadata

func (*Example) Read

func (*Example) Schema

type ExampleModel

type ExampleModel struct {
	ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	ID                    types.String `tfsdk:"id"`
}

ExampleModel describes the data source data model.

Jump to

Keyboard shortcuts

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